Class
ListItemInfo

Represents information about a list item within a document, including its structure and formatting details.

Definition

Namespace:Telerik.Windows.Documents.Lists

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ListItemInfo

Inheritance: objectListItemInfo

Constructors

ListItemInfo(DocumentList, Paragraph, int)

Declaration

cs-api-definition
public ListItemInfo(DocumentList listInfo, Paragraph paragraph, int listLevel)

Parameters

listInfo

DocumentList

paragraph

Paragraph

listLevel

int

Properties

FirstLineOffset

Gets or sets the offset of the first line of the list item.

Declaration

cs-api-definition
public float FirstLineOffset { get; }

Property Value

float

The offset value, in points, that specifies the indentation of the first line.

List

Gets or sets the list associated with the ListItemInfo.

Declaration

cs-api-definition
public DocumentList List { get; }

Property Value

DocumentList

The list that contains the current ListItemInfo instance.

ListLevel

Gets or sets the level of the list item in the document. The list level determines the indentation and hierarchy of the list item.

Declaration

cs-api-definition
public int ListLevel { get; set; }

Property Value

int

An integer representing the level of the list item, where a lower value indicates a higher level (closer to the start of the list), and a higher value indicates a nested list item.

Paragraph

Represents the paragraph information of a list item in Telerik's document model.

Declaration

cs-api-definition
public Paragraph Paragraph { get; }

Property Value

Paragraph

SymbolFontSize

Gets or sets the font size of the symbol for the list item.

Declaration

cs-api-definition
public double SymbolFontSize { get; set; }

Property Value

double

A double representing the font size of the symbol.

SymbolSize

Gets or sets the symbol size of the list item.

Declaration

cs-api-definition
public SizeF SymbolSize { get; }

Property Value

SizeF

A value representing the size of the symbol associated with the list item.