TXTextControl.ListFormat.NumberFormat Property

Gets or sets the number format for a numbered list. The property's value is a member of the NumberFormat enumeration.


public NumberFormat NumberFormat { get; set; }
[Visual Basic]
Public Property NumberFormat() As NumberFormat
Value Description
ArabicNumbers The list is numbered with Arabic numbers (1, 2, 3...).
Letters The list is numbered with letters (a, b, c...).
CapitalLetters The list is numbered with capital letters (A, B, C...).
RomanNumbers The list is numbered with Roman numbers (I, II, III...).
SmallRomanNumbers The list is numbered with small Roman numbers (i, ii, iii...).


The property's default value is NumberFormat.ArabicNumbers.

The property returns its default value when the text selection contains multiple paragraphs with mixed number formats 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