StdDlgTextItem

Extends StdDlgItemBase

The StdDlgTextItem node is used to display a block of text. It should only be used as a child of a StdDlgContentArea node.

roku815px - StdDlgTextItem

To separate lines of text, use multiple StdDlgTextItem nodes. Do not use newline characters.

Fields

FieldTypeDefaultAccess PermissionDescription
textstring""READ_WRITESpecifies the text to be displayed. If the text width does not fit within the width of the content area, the text will wrap onto multiple lines.
namedTextStylestring"normal"READ_WRITESpecifies a named style to be used for the displayed text's color and font. The supported styles include:
Style NamePalette ColorFont
"normal"DialogTextColorSmallSystemFont
"secondary"DialogSecondaryTextColorSmallestSystemFont
"bold"DialogTextColorSmallBoldSystemFont
audioGuideTextstring""READ_WRITESpecifies the string to be spoken when the screen reader reads the text item. By default, the screen reader reads the string specified in the text field.

Sample app

You can download and install a sample app that demonstrates how to create a custom dialog that uses the text item.