Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

DraftView Class

Represents a draft view of the Rich Edit control.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

[ComVisible(true)]
public class DraftView :
    PageBasedRichEditView

The following members return DraftView objects:

Remarks

The draft view is the view without pagination. It does not display complex formatting features pertinent to the page layout, such as columns, headers or footers. Use it for text formatting.

The Draft view looks as illustrated in the following picture.

Views-DraftView

To switch to the view, set the RichEditControl.ActiveViewType property to the RichEditViewType.Draft value or execute the SwitchToDraftViewCommand command.

Some options specific for the DraftView can be set using the DraftViewLayoutOptions class instance.

Tip

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

See Also