Skip to main content

DraftView Class

Represents a draft view of the Rich Edit control.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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