[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [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
      Text Boxes
      Document Properties
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
   [Expand]Visual Elements
    HTML Tag Support
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[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)


The Paragraph (see Paragraph) class represents paragraphs in the RichEditControl. You can manage them in code and using the User Interface.

Expanded Paragraphs in the User Interface

End-users can press Enter to divide text into paragraphs, and the Paragraph group on the Home ribbon tab allows them to format paragraphs. Refer to the How to: Create a Simple Word Processor with a Ribbon UI lesson for information on how to provide a Ribbon UI for the RichEditControl.

End-users can specify advanced paragraph settings using the Paragraph Dialog. You can invoke this dialog from the ribbon group of from the context menu.


You can restrict end-users from formatting paragraphs or creating new paragraphs. Set the DXRichEditDocumentCapabilitiesOptions.Paragraphs, DXRichEditDocumentCapabilitiesOptions.ParagraphFormatting, or DXRichEditDocumentCapabilitiesOptions.ParagraphTabs property to Hidden (see DocumentCapability.Hidden) or Disabled (see DocumentCapability.Disabled) to disable or hide the corresponding commands in the Ribbon UI and the pop-up menu.

The RichEditControl can display, print and export to PDF format documents with paragraph borders.

The control does not provide user interface elements allowing end-users to create or modify paragraph borders.

Expanded Paragraphs in Code

The ParagraphCollection contains all document paragraphs. Access a specific paragraph by its index using the SubDocument.Paragraphs property. You can also retrieve the paragraph related to the given range using the ReadOnlyParagraphCollection.Get method.

Use one of the following methods to insert new paragraph:

Paragraphs can be formatted directly or using document styles. Refer to the Text Formatting topic for more information.


The RichEditControl does not provide an API to manage paragraph borders.


We recommend to format paragraphs using ParagraphProperties options instead of specifying the formatting options directly to the Paragraph object. Use the <b>Paragraph</b> object's properties to check the information.

Expanded See Also

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