[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
   [Expand]RichEditControl Document
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Spell Checking
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
   [Collapse]Visual Elements
    [Expand]Rich Edit Control
    [Expand]Command UI
     Pop-up Menus
      Simple View
      Draft View
      Print Layout View
    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)

Draft View

The DraftView can be used for text formatting. To switch to the view, set the RichEditControl.ActiveViewType property to the RichEditViewType.Draft value.

The Draft view layout applies only the page width, so the document is not actually split into pages thus having no header or footer. Multiple columns are displayed as a single column. Floating objects are normally positioned with respect to page boundaries, and this view displays floating pictures and text boxes misplaced. The view is like the Draft view in Microsoft Word.

A typical Draft view layout is shown in the following picture.

The Draft view displays the horizontal ruler.

To prevent floating objects from being displayed, set the DocumentCapabilitiesOptions.FloatingObjects option to DocumentCapability.Disabled value.

The RichEdit API implements the DraftView class for the Draft view. In code, you can specify the RichEditView.BackColor and distance between the document text and the control's inner boundaries (the DraftView.Padding property). To specify whether the text should be wrapped, use the SimpleView.WordWrap property.

To specify the page width, use the SectionPage.Width property.


The view of the RichEditControl which is currently in use is accessible by the RichEditControl.ActiveView property.

Expanded See Also

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