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

Html Highlighting

HtmlView Settings
v
Apply Changes


The DevExpress ASP.NET MVC Html Editor 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.

Collapse/Expand
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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxHTMLEditorDemos