Class ListLevelStyle
Represents the style and formatting for a specific level in a multi-level list.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ListLevelStyle : Object, INotifyPropertyChanged
Constructors
ListLevelStyle()
Declaration
public ListLevelStyle()
ListLevelStyle(ListLevelStyle)
Properties
FontFamily
Gets or sets the font family for the list level style.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
System.Windows.Media.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
public FontWeight FontWeight { get; set; }
Property Value
System.Windows.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
public Color ForeColor { get; set; }
Property Value
System.Windows.Media.Color
A System.Windows.Media.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
[XamlSerializable]
public double HangingIndent { get; set; }
Property Value
System.Double
|
Indent
Gets or sets the indentation of the list level style.
Declaration
[XamlSerializable]
public double Indent { get; set; }
Property Value
System.Double
|
LevelText
Gets or sets the level text for the list level style.
Declaration
[XamlSerializable]
public string LevelText { get; set; }
Property Value
System.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
[XamlSerializable]
public ListNumberingFormat NumberingFormat { get; set; }
Property Value
ListNumberingFormat
|
SpanProperties
Gets the span properties for the list level style.
Declaration
public SpanProperties SpanProperties { get; set; }
Property Value
SpanProperties
The span properties that define the styling for the list level. |
SpanStyle
Represents the span style for a list level in Telerik's document model. This style can be used to define how text will appear within a specific list level.
Declaration
[XamlCompositePropertySerializable]
public SpanProperties SpanStyle { get; set; }
Property Value
SpanProperties
|
StartingIndex
Gets or sets the starting index for the list level style.
Declaration
[XamlSerializable]
public int StartingIndex { get; set; }
Property Value
System.Int32
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
[XamlSerializable]
public string StyleName { get; set; }
Property Value
System.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
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
True if the specified object is equal to the current instance; otherwise, false. |
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
public override int GetHashCode()
Returns
System.Int32
A hash code for the current ListLevelStyle instance, represented as an integer. |
OnPropertyValueChanged(String, Object, Object)
Declaration
protected virtual void OnPropertyValueChanged(string propertyName, object oldValue, object newValue)
Parameters
System.String
propertyName
|
System.Object
oldValue
|
System.Object
newValue
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|