TXTextControl.ListFormat.TextBeforeNumber Property

Gets or sets the text that is displayed in front of the number in a numbered list. If this property is an empty string, no additional text is diplayed in front of the number. This property replaces the CharBeforeNumber property of this class.

Introduced: 15.0.


public string TextBeforeNumber { get; set; }
[Visual Basic]
Public Property TextBeforeNumber() As String


The property returns an empty string when the text selection contains multiple paragraphs with mixed settings or when the text selection does not contain a numbered list. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

See Also