ListStyle
Defines the ordered level formatting used by a numbered or bulleted list.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ListStyle
Inheritance: objectListStyle
Constructors
Initializes an empty list style with no assigned identifier.
public ListStyle()
Creates a list style with a replacement identifier and copies each level's numbering, indentation, and span formatting, along with the list link names. The default flag and level StyleName values are not copied.
Creates a new list style by copying each level's numbering, indentation, and span formatting, along with the list link names. The identifier is reset, the default flag is not copied, and level StyleName values are not preserved.
public ListStyle(ListStyle source)
The list style whose levels and links are copied.
Fields
Gets the number of list levels used by the built-in list styles.
public static readonly int ListLevels
Properties
Gets or sets whether this definition is marked as a default list preset.
[XamlSerializable]
public bool IsDefault { get; set; }
Gets the formatting definition for each list depth, in level order.
[XamlSerializable]
public NotifiableCollection<ListLevelStyle> Levels { get; set; }
Gets or sets the name of the numbering style that supplies this list style's effective levels. The linked style must resolve to a numbering style in the document's style repository.
[XamlSerializable]
public string NumStyleLink { get; set; }
Methods
Compares the level values and both link names; the identifier, default flag, and each level's StyleName are ignored.
Computes a hash code from the list levels; the identifier, default flag, and link names do not contribute.