TXTextControl.ListFormat.Level Property

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

Syntax

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

Remarks

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.

Limitations

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

See Also