HtmlEditorSettings.ActiveView Property

Gets or sets the editor's active view.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public HtmlEditorView ActiveView { get; set; }
Public Property ActiveView As HtmlEditorView

Property Value

Type Description

One of the HtmlEditorView enumeration values.

Available values:

Name Description

Identifies the editor's Design View.


Identifies the editor's HTML View.


Identifies the editor's Preview View.


The HtmlEditor allows end users to select the active view with a mouse click. The editor also provides the capability to select the active view type in code. You can use the ActiveView property for this purpose.

Note that the HtmlEditor always has the active view, and only a single view can be active within the control at one time.


You can change the ActiveView property value on a postback, or on a callback sent for a view markup (e.g., when changing a view). Other callbacks cannot be used for changing the active tab.

See Also