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.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Lists

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public sealed class List

Inheritance: objectList

Constructors

List()

Initializes a new instance of the List class.

For predefined lists use Add(ListTemplateType) method.

Declaration

cs-api-definition
public List()

Properties

Document

Gets the document containing this list; set automatically when the list is added to a document's list collection.

Declaration

cs-api-definition
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

cs-api-definition
public int Id { get; }

Property Value

int

The ID.

Levels

Gets the collection of 9 list levels that define numbering format, indentation, and styling for each hierarchy level.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public string StyleId { get; set; }

Property Value

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

cs-api-definition
public List Clone()

Returns

List

The cloned list.