The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.2.dll

Declaration

[DefaultValue(HtmlEditorHtmlEditingMode.Advanced)]
public HtmlEditorHtmlEditingMode Mode { get; set; }
<DefaultValue(HtmlEditorHtmlEditingMode.Advanced)>
Public Property Mode As HtmlEditorHtmlEditingMode

Property Value

Type Default Description
HtmlEditorHtmlEditingMode

Advanced

One of the HtmlEditorHtmlEditingMode enumeration values.

Remarks

The HTML View can display Html code in these two modes.

  • In Simple mode, HTML code is displayed as a plain text.

    ASPxHtmlEditor_SimpleMode

  • 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.

    ASPxHtmlEditor_AdvancedMode

Online Demo

Html Highlighting

See Also