[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Collapse]RichEditControl Document
    [Expand]Document Structure
    [Collapse]Document Elements
      Positions and Ranges
      Inline Pictures
      Hyperlinks and Bookmarks
      Headers and Footers
      Range Permissions
      Numbered and Bulleted Lists
      Text Boxes
      Document Properties
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Spell Checking
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
   [Expand]Visual Elements
    Keyboard Shortcuts
    HTML Tag Support
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Numbered and Bulleted Lists

XtraRichEdit supports bulleted, numbered and mixed lists.

Numbered and bulleted lists are represented by specific collections of paragraphs. To format lists, use ToggleSimpleNumberingListCommand, ToggleBulletedListCommand and ToggleMultiLevelListCommand commands. List indentation can be specified by executing IncrementIndentCommand or DecrementIndentCommand commands. Numeration in numbering lists can be changed by executing IncrementNumerationFromParagraphCommand and DecrementNumerationFromParagraphCommand commands.

Each paragraph in a document may contain numbering information. Numbering information for a specific paragraph is determined by its Paragraph.ListIndex and Paragraph.ListLevel properties.

The Paragraph.ListIndex property value is the index in the document's NumberingListCollection. The collection is available via the Document.NumberingLists property.

The collection is composed of items with a NumberingList interface. Each item is an instance of a certain abstract numbering definition, which is represented by AbstractNumberingList interface. A collection of abstract numbering definitions is accessible via the Document.AbstractNumberingLists property.

A Paragraph.ListLevel property of a paragraph indicates its level in the list. To specify formatting for a numbered paragraph, you should modify properties of a corresponding level. Level properties are contained in an object with the ListLevelProperties interface accessible via the NumberingList.Levels property. This change will apply to all paragraphs with a certain level linked to this numbering list. If a property is not specified for the numbering list, the definition for the corresponding level comes from the abstract numbering definition (AbstractNumberingList) linked to a NumberedList.

Bulleted lists are indicated by the NumberingListBase.NumberingType property set to NumberingType.Bullet and the ListLevel.BulletLevel property set to true.


To remove numbering for a particular paragraph, set its ListIndex to -1.

The following code snippet illustrates how to create a multilevel numbered list in a document.

Expanded See Also

Is this topic helpful?​​​​​​​