---
title: contentText
framework: tvuikit
role: symbol
role_heading: Instance Property
path: tvuikit/tvcaptionbuttonview/contenttext
---

# contentText

The text displayed in the main content view.

## Declaration

```swift
var contentText: String? { get set }
```

## Discussion

Discussion The content text is displayed in the caption button and indicates the purpose of the caption button. The last instance of contentImage or contentText that was set in your app is displayed by the caption button view.

## See Also

### Configuring the Caption Button

- [contentImage](tvuikit/tvcaptionbuttonview/contentimage.md)
- [title](tvuikit/tvcaptionbuttonview/title.md)
- [subtitle](tvuikit/tvcaptionbuttonview/subtitle.md)
