Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Html Highlighting

HtmlView Settings

The DevExpress ASP.NET HTML Editor (ASPxHtmlEditor) can display Html code as plain text (Simple mode), or using the Html code editor (Advanced mode) based on the SettingsHtmlView.Mode property value.

In Advanced mode, you can use the following properties to control editor functionality.

The EnableAutoCompletion property controls the availability of an intellisense support.

The EnableTagAutoClosing property specifies if a closing tag is added automatically when an end-user types an opening tag.

The HighlightActiveLine property specifies if an active line is highlighted.

The HighlightMatchingTags property specifies if a tag is highlighted when end-user selects a matching tag.

The ShowCollapseTagButtons property controls the visibility of buttons, allowing end-users to collapse and expand tags.

The ShowLineNumbers property controls the line number visibility.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxHTMLEditorDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxHTMLEditorDemos