Class ListLevel
Defines formatting for a single level within a list, including numbering style, text format, alignment, and paragraph properties.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Lists
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class ListLevel
Properties
Alignment
Gets or sets the horizontal alignment of the numbering text within the list level's numbering area.
Declaration
public Alignment Alignment { get; set; }
Property Value
|
Alignment
The alignment. |
CharacterProperties
Gets the character formatting applied to the numbering text for this level, including font, size, and color.
Declaration
public CharacterProperties CharacterProperties { get; }
Property Value
|
CharacterProperties
The character properties. |
Document
Gets the document containing this list level, accessed through the owner list.
Declaration
public RadFlowDocument Document { get; }
Property Value
|
RadFlowDocument
The document. |
IsLegal
Gets or sets whether all inherited level numbers in this level's format should be displayed as decimal regardless of their defined numbering style.
Declaration
public bool IsLegal { get; set; }
Property Value
|
System.Boolean
The is legal. |
NumberingStyle
Gets or sets the numbering format applied to this level, such as Decimal, UpperRoman, LowerLetter, or Bullet.
Declaration
public NumberingStyle NumberingStyle { get; set; }
Property Value
|
NumberingStyle
The numbering style. |
NumberTextFormat
Gets or sets the text template for numbering display, where placeholders like %1, %2 are replaced with actual level numbers.
Declaration
public string NumberTextFormat { get; set; }
Property Value
|
System.String
The number text format. |
ParagraphProperties
Gets the paragraph formatting applied to list items at this level, including indentation and spacing.
Declaration
public ParagraphProperties ParagraphProperties { get; }
Property Value
|
ParagraphProperties
The paragraph properties. |
RestartAfterLevel
Gets or sets the level that must occur to restart numbering for this level; -1 (default) restarts after the previous level, or specify 0-8 for a specific level.
Declaration
public int RestartAfterLevel { get; set; }
Property Value
|
System.Int32
The restart after level. |
Exceptions
|
System.ArgumentOutOfRangeException
|
StartIndex
Gets or sets the starting number used for the first occurrence of this list level, which must be zero or greater.
Declaration
public int StartIndex { get; set; }
Property Value
|
System.Int32
The start index. |
Exceptions
|
System.ArgumentOutOfRangeException
|
StyleId
Gets or sets the identifier of a paragraph style linked to this level; setting this value updates the style's list references.
Declaration
public string StyleId { get; set; }
Property Value
|
System.String
The name of the style. |