ListLevelStyle
Defines the marker, indentation, and text formatting for one level of a list.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ListLevelStyle : INotifyPropertyChanged
Inheritance: objectListLevelStyle
Implements:
Constructors
Initializes a list level with the default hanging-indent value.
public ListLevelStyle()
Copies the numbering, indentation, and span formatting values from another list level. The source level's StyleName is not copied.
public ListLevelStyle(ListLevelStyle source)
The level whose formatting values are copied.
Properties
Gets or sets the font family used for the list marker.
public FontFamily FontFamily { get; set; }
Gets or sets the font weight used for the list marker.
public FontWeight FontWeight { get; set; }
Gets or sets the foreground color used for the list marker.
public Color ForeColor { get; set; }
Gets or sets the hanging-indent value for this list level. The default constructor initializes it to the document's
indentation step, and DOCX numbering import and export map it to w:ind/@hanging.
[XamlSerializable]
public double HangingIndent { get; set; }
Gets or sets the horizontal indentation for this list level.
[XamlSerializable]
public double Indent { get; set; }
Gets or sets the marker template. Numbered-list placeholders such as {0} are replaced with the
corresponding level number; text outside placeholders supplies the marker's punctuation.
[XamlSerializable]
public string LevelText { get; set; }
Gets or sets whether this level uses a bullet marker or a numbered marker, and the number format when applicable.
[XamlSerializable]
public ListNumberingFormat NumberingFormat { get; set; }
Gets or sets the span formatting values associated with this level, including the marker's font and color.
public SpanProperties SpanProperties { get; set; }
Gets or sets the first number used for this level when list numbering starts.
[XamlSerializable]
public int StartingIndex { get; set; }
Methods
Computes a hash code from the numbering format, marker template, starting index, and span formatting.
Raises the list-level change event and the PropertyChanged notification for a changed value.
Events
Occurs when a numbering or formatting property of this level changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: