Class List
Defines multi-level list formatting that can be applied to multiple paragraphs, supporting up to 9 levels with distinct numbering or bullet styles.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Lists
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class List
Constructors
List()
Initializes a new instance of the List class.
For predefined lists use Add(ListTemplateType) method.
Declaration
public List()
Properties
Document
Gets the document containing this list; set automatically when the list is added to a document's list collection.
Declaration
public RadFlowDocument Document { get; }
Property Value
|
RadFlowDocument
The document. |
Id
Gets the unique identifier assigned to this list within the document, used by paragraphs to reference the list.
Declaration
public int Id { get; }
Property Value
|
System.Int32
The ID. |
Levels
Gets the collection of 9 list levels that define numbering format, indentation, and styling for each hierarchy level.
Declaration
public ListLevelCollection Levels { get; }
Property Value
|
ListLevelCollection
The levels. |
MultilevelType
Gets or sets the type of multilevel list behavior, which determines whether all levels are used or only the first level is significant.
Declaration
public MultilevelType MultilevelType { get; set; }
Property Value
|
MultilevelType
The type of the multilevel. |
StyleId
Gets or sets the identifier of a numbering style that defines formatting for this list; setting this value updates the style's ListId reference.
Declaration
public string StyleId { get; set; }
Property Value
|
System.String
The name of the style. |
Methods
Clone()
Creates a deep copy of this list with all levels and properties, producing an independent list instance.
Declaration
public List Clone()
Returns
|
List
The cloned list. |