Class
ListStyle

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:

cs-api-definition
public class ListStyle

Inheritance: objectListStyle

Constructors

ListStyle()

Declaration

cs-api-definition
public ListStyle()

ListStyle(ListStyle)

Declaration

cs-api-definition
public ListStyle(ListStyle source)

Parameters

source

ListStyle

ListStyle(int, ListStyle)

Declaration

cs-api-definition
public ListStyle(int id, ListStyle source)

Parameters

id

int

source

ListStyle

ListStyle(int?)

Declaration

cs-api-definition
public ListStyle(int? id)

Parameters

id

int?

Fields

ListLevels

Declaration

cs-api-definition
public static readonly int ListLevels

Field Value

int

Properties

IsDefault

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

Declaration

cs-api-definition
[XamlSerializable]
public bool IsDefault { get; set; }

Property Value

bool

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

Levels

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

Declaration

cs-api-definition
[XamlSerializable]
public NotifiableCollection<ListLevelStyle> Levels { get; set; }

Property Value

NotifiableCollection<ListLevelStyle>

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Num")]
[XamlSerializable]
public string NumStyleLink { get; set; }

Property Value

string

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.

Declaration

cs-api-definition
[XamlSerializable]
public string StyleLink { get; set; }

Property Value

string

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

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

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

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

Overrides object.GetHashCode()