Skip to main content

ASPxHtmlEditor.ActiveView Property

Gets or sets the editor’s active view.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll

Declaration

[DefaultValue(HtmlEditorView.Design)]
public HtmlEditorView ActiveView { get; set; }

Property Value

Type Default Description
HtmlEditorView Design

One of the HtmlEditorView enumeration values.

Available values:

Name Description
Design

Identifies the editor’s Design View.

Html

Identifies the editor’s HTML View.

Preview

Identifies the editor’s Preview View.

Remarks

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

Note that the ASPxHtmlEditor always has the active view, and only a single view can be active in the control at the same time.

Note

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 an active tab.

See Also