Skip to main content

HtmlEditorHtmlViewSettings.EnableTagAutoClosing Property

Specifies if a closing tag is added automatically when an end-user types an opening tag.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(true)]
public bool EnableTagAutoClosing { get; set; }

#Property Value

Type Default Description
Boolean true

true, to enable tag auto closing; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to EnableTagAutoClosing
ASPxHtmlEditorSettings
.SettingsHtmlView .EnableTagAutoClosing

#Remarks

Note

The EnableTagAutoClosing property is in effect in advanced mode only, i.e., when the HtmlEditorHtmlViewSettings.Mode property is set to Advanced.

Run Demo: Html Highlighting

See Also