HtmlEditorHtmlViewSettings.Mode Property
Specifies how the HTML View displays Html code: as a plain text, or by using the advanced Html code editor.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(HtmlEditorHtmlEditingMode.Advanced)]
public HtmlEditorHtmlEditingMode Mode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Html |
Advanced | One of the Html |
Available values:
Name | Description |
---|---|
Simple | HTML View displays HTML code as a plain text. |
Advanced | HTML View highlights HTML code and provides advanced code editing features. |
Auto | HTML View editing mode is automatically defined, depending on an end-user’s device and browser capabilities, to support the advanced mode features. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Mode |
---|---|
ASPx |
|
#Remarks
The HTML View can display Html code in these two modes.
In Simple mode, HTML code is displayed as a plain text.
In Advanced mode, HTML code is highlighted. You can use the settings provided by the ASPxHtmlEditorSettings.SettingsHtmlView property to control the advanced code editing features.