Skip to main content

HtmlEditorHtmlViewSettings.ShowLineNumbers Property

Specifies the line number visibility.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

[DefaultValue(false)]
public bool ShowLineNumbers { get; set; }

Property Value

Type Default Description
Boolean false

true, to display line numbers; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowLineNumbers
ASPxHtmlEditorSettings
.SettingsHtmlView .ShowLineNumbers

Remarks

Note that the ShowLineNumbers property is in effect in advanced mode only, i.e., when the HtmlEditorHtmlViewSettings.Mode property is set to Advanced.

ASPxHtmlEditor_HtmlViewSettings

Run Demo: Html Highlighting

See Also