Class
ListLevelStyle

Represents the style and formatting for a specific level in a multi-level list.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ListLevelStyle : INotifyPropertyChanged

Inheritance: objectListLevelStyle

Implements: INotifyPropertyChanged

Constructors

ListLevelStyle()

Declaration

cs-api-definition
public ListLevelStyle()

ListLevelStyle(ListLevelStyle)

Declaration

cs-api-definition
public ListLevelStyle(ListLevelStyle source)

Parameters

source

ListLevelStyle

Properties

FontFamily

Gets or sets the font family for the list level style.

Declaration

cs-api-definition
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

The font family applied to the list level style. This property determines the typeface used for the text in the list item.

FontWeight

Gets or sets the font weight of the list level style.

Declaration

cs-api-definition
public FontWeight FontWeight { get; set; }

Property Value

FontWeight

A value indicating the font weight for the list level style, which can be used to define how bold or light the text appears.

ForeColor

Gets or sets the foreground color for the list level style.

Declaration

cs-api-definition
public Color ForeColor { get; set; }

Property Value

Color

A Color that represents the foreground color of the list level style.

HangingIndent

Represents the hanging indent style for a list level in a document model.

Declaration

cs-api-definition
[XamlSerializable]
public double HangingIndent { get; set; }

Property Value

double

Indent

Gets or sets the indentation of the list level style.

Declaration

cs-api-definition
[XamlSerializable]
public double Indent { get; set; }

Property Value

double

LevelText

Gets or sets the level text for the list level style.

Declaration

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

Property Value

string

A string representing the text format for the list item level. The format can include numeric or alphabetical indicators, along with any additional formatting required by the list style.

NumberingFormat

Represents the numbering format for a specific list level style in the Telerik document model.

Declaration

cs-api-definition
[XamlSerializable]
public ListNumberingFormat NumberingFormat { get; set; }

Property Value

ListNumberingFormat

SpanProperties

Gets the span properties for the list level style.

Declaration

cs-api-definition
public SpanProperties SpanProperties { get; set; }

Property Value

SpanProperties

The span properties that define the styling for the list level.

StartingIndex

Gets or sets the starting index for the list level style.

Declaration

cs-api-definition
[XamlSerializable]
public int StartingIndex { get; set; }

Property Value

int

The starting index of the list level style. The default value is 0.

StyleName

Gets or sets the name of the style for the list level.

Declaration

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

Property Value

string

A string representing the name of the list level style.

Methods

Equals(object)

Determines whether the specified object is equal to the current ListLevelStyle instance.

Declaration

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

Parameters

obj

object

The object to compare with the current instance.

Returns

bool

True if the specified object is equal to the current instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for the current instance of the ListLevelStyle class. This method is typically used in hashing algorithms and data structures such as hash tables.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current ListLevelStyle instance, represented as an integer.

Overrides object.GetHashCode()

OnPropertyValueChanged(string, object, object)

Declaration

cs-api-definition
protected virtual void OnPropertyValueChanged(string propertyName, object oldValue, object newValue)

Parameters

propertyName

string

oldValue

object

newValue

object

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged