New to Telerik Document Processing? Start a free 30-day trial

List

Class

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.Documents.Flow.Model.Lists

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public sealed class List

Inheritance: objectList

Constructors

Initializes a new instance of the List class.

For predefined lists use Add(ListTemplateType) method.

C#
public List()

Properties

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

C#
public RadFlowDocument Document { get; }
Property Value:

The document.

Gets the unique identifier assigned to this list within the document, used by paragraphs to reference the list.

C#
public int Id { get; }
Property Value:

The ID.

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

C#
public ListLevelCollection Levels { get; }
Property Value:

The levels.

Gets or sets the type of multilevel list behavior, which determines whether all levels are used or only the first level is significant.

C#
public MultilevelType MultilevelType { get; set; }
Property Value:

The type of the multilevel.

Gets or sets the identifier of a numbering style that defines formatting for this list; setting this value updates the style's ListId reference.

C#
public string StyleId { get; set; }
Property Value:

The name of the style.

Methods

Creates a deep copy of this list with all levels and properties, producing an independent list instance.

C#
public List Clone()
Returns:

List

The cloned list.