skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ListLevelStyle

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

Inheritance
System.Object
ListLevelStyle
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class ListLevelStyle : Object, INotifyPropertyChanged

Constructors

ListLevelStyle()

Declaration
public ListLevelStyle()

ListLevelStyle(ListLevelStyle)

Declaration
public ListLevelStyle(ListLevelStyle source)
Parameters
ListLevelStyle source

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

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.