---
title: attributedString
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextlistelement/attributedstring
---

# attributedString

An attributed string that represents the string the framework displays for this element taking into account markers and the indentation level of the list element.

## Declaration

```swift
var attributedString: NSAttributedString { get }
```

## See Also

### Accessing the formatted string data

- [contents](appkit/nstextlistelement/contents.md)
