Skip to main content
A newer version of this page is available. .

RichEditControl.ActiveView Property

Gets the View currently used by the RichEditControl to display the document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v18.2.dll

Declaration

[Browsable(false)]
public RichEditView ActiveView { get; }

Property Value

Type Description
RichEditView

A RichEditView class instance, which is one of the views listed in the RichEditViewType enumeration.

Remarks

The RichEditControl.ActiveView property provides access to the currently active view. To change the view use the RichEditControl.ActiveViewType property or the corresponding commands (SwitchToDraftViewCommand, SwitchToSimpleViewCommand, SwitchToPrintLayoutViewCommand).

The RichEditControl.ActiveViewChanged event is raised when the active view changes.

See Also