RichEditControl.ActiveView Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll

Declaration

[Browsable(false)]
public RichEditView ActiveView { get; }
<Browsable(False)>
Public ReadOnly Property ActiveView As RichEditView

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