HtmlEditorSettings.ActiveView Property
Gets or sets the editor’s active view.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public HtmlEditorView ActiveView { get; set; }
#Property Value
Type | Description |
---|---|
Html |
One of the Html |
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 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.
Note
You can change the Active