ClassListLevel
Defines formatting, numbering style, and indentation for items at a specific nesting level within a list.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Editing.Lists
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class ListLevel
Inheritance: objectListLevel
Constructors
ListLevel()
Initialize a list level with the default bullet/numbering format.
Declaration
public ListLevel()
ListLevel(IBulletNumberingFormat)
Initialize a list level with a specific bullet or numbering format.
Declaration
public ListLevel(IBulletNumberingFormat numberingStyleFormat)
Parameters
numberingStyleFormat
The numbering style format.
Properties
BulletNumberingFormat
Gets or sets the strategy that generates the bullet or number displayed for items at this level.
Declaration
public IBulletNumberingFormat BulletNumberingFormat { get; set; }
Property Value
The bullet numbering format implementation.
CharacterProperties
Gets the character formatting applied to the generated bullet/number content.
Declaration
public CharacterProperties CharacterProperties { get; }
Property Value
The character properties for the bullet numbering.
IndentAfterBullet
Gets or sets the horizontal spacing between the bullet/number and the item text.
Declaration
public double IndentAfterBullet { get; set; }
Property Value
The indent distance after the bullet, measured in document units.
ParagraphProperties
Gets paragraph layout settings (spacing, indentation, alignment) for items at this level.
Declaration
public ParagraphProperties ParagraphProperties { get; }
Property Value
The paragraph properties for this list level.
RestartAfterLevel
Gets or sets the level after which numbering restarts; use -1 to disable automatic restart.
Declaration
public int RestartAfterLevel { get; set; }
Property Value
The list level index that triggers numbering restart, or -1 if restart is disabled.
StartIndex
Gets or sets the first numbering value for this level; affects the number shown for the first item.
Declaration
public int StartIndex { get; set; }
Property Value
The starting index for numbering. Default is typically 1 for numbered lists.