ListLevel
Defines formatting for a single level within a list, including numbering style, text format, alignment, and paragraph properties.
Definition
Namespace:Telerik.Documents.Flow.Model.Lists
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public sealed class ListLevel
Inheritance: objectListLevel
Properties
Gets or sets the horizontal alignment of the numbering text within the list level's numbering area.
public Alignment Alignment { get; set; }
The alignment.
Gets the character formatting applied to the numbering text for this level, including font, size, and color.
public CharacterProperties CharacterProperties { get; }
The character properties.
Gets the document containing this list level, accessed through the owner list.
public RadFlowDocument Document { get; }
The document.
Gets or sets whether all inherited level numbers in this level's format should be displayed as decimal regardless of their defined numbering style.
public bool IsLegal { get; set; }
The is legal.
Gets or sets the numbering format applied to this level, such as Decimal, UpperRoman, LowerLetter, or Bullet.
public NumberingStyle NumberingStyle { get; set; }
The numbering style.
Gets or sets the text template for numbering display, where placeholders like %1, %2 are replaced with actual level numbers.
public string NumberTextFormat { get; set; }
The number text format.
Gets the paragraph formatting applied to list items at this level, including indentation and spacing.
public ParagraphProperties ParagraphProperties { get; }
The paragraph properties.
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.
public int RestartAfterLevel { get; set; }
The restart after level.
Exceptions: ArgumentOutOfRangeExceptionvalue is less then -1 and greater then 8.
Gets or sets the starting number used for the first occurrence of this list level, which must be zero or greater.
public int StartIndex { get; set; }
The start index.
Exceptions: ArgumentOutOfRangeExceptionvalue is less than 0.