Skip to main content

RichEditControl.ActiveView Property

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

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v23.2.dll

NuGet Package: DevExpress.Wpf.RichEdit


public RichEditView ActiveView { get; }

Property Value

Type Description

A RichEditView class instance that is the current view.


The RichEditControl.ActiveView property provides access to the currently active view. The returned RichEditView object options allow you to customize the target view.

richEditControl1.ActiveView.AllowDisplayLineNumbers = true;
richEditControl1.ActiveView.BackColor = System.Drawing.Color.Beige;

Use the RichEditControl.ActiveViewType property to change the View. End users can change the current view using the Document Views buttons on the View ribbon tab.


These buttons execute the following commands:

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

See Also