New to Telerik UI for WPFStart a free 30-day trial

Represents the style of a list in the document model, allowing customization of list elements such as bullets or numbering.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class ListStyle

Inheritance: objectListStyle

Constructors

C#
public ListStyle()
C#
public ListStyle(int id, ListStyle source)
Parameters:idintsourceListStyle
C#
public ListStyle(int? id)
Parameters:idint?
C#
public ListStyle(ListStyle source)
Parameters:sourceListStyle

Fields

C#
public static readonly int ListLevels

Properties

Gets or sets a value indicating whether the list style is the default list style.

C#
[XamlSerializable]
public bool IsDefault { get; set; }
Property Value:

True if the list style is the default; otherwise, false.

Represents the levels of a list style in Telerik document model.

C#
[XamlSerializable]
public NotifiableCollection<ListLevelStyle> Levels { get; set; }

Represents a link to a numeric style in the document model for lists.

C#
[XamlSerializable]
public string NumStyleLink { get; set; }

Represents a link to a style in a list within the Telerik document model. This class allows the application of specific formatting and styling to list elements.

C#
[XamlSerializable]
public string StyleLink { get; set; }

Methods

Determines whether the specified object is equal to the current list style.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current list style.

Returns:

bool

true if the specified object is equal to the current list style; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code for this instance, which can be used in hashing algorithms and data structures such as a hash table.

C#
public override int GetHashCode()
Returns:

int

A 32-bit signed integer that is the hash code for the current instance.

Overrides: object.GetHashCode()