officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraph-05436efe.md
Gets or sets the list level applied to the current paragraph in the numbering list.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public abstract int ListLevel { get; set; }
Public MustOverride Property ListLevel As Integer
| Type | Description |
|---|---|
| Int32 |
An integer that is the list level of the current paragraph.
|
Specify the Paragraph.ListIndex property before specifying the ListLevel property. Otherwise, the paragraph is not included in the list.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ListLevel property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/List.vb#L101
pgf.ListIndex = 0
pgf.ListLevel = pgf.Index
Next
See Also