TXTextControl.ListFormat.Level Property

Gets or sets the level for a bulleted or numbered list.


public int Level { get; set; }
[Visual Basic]
Public Property Level() As Integer


The property's default value is 1.

The property returns its default value when the text selection contains multiple paragraphs with different levels or when the text selection does not contain a bulleted or a numbered list. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.


The level of a list must be between 1 and ListFormat.MaxLevel.

See Also