Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Toolbar Mode

v
  • Cut (Ctrl+X)
  • Copy (Ctrl+C)
  • Paste (Ctrl+V)
  • Paste from Word
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Remove Format
  • Superscript
  • Subscript
  • Ordered List
  • Bullet List
  • Indent
  • Outdent
  • Insert Link (Ctrl+K)
  • Remove Link (Ctrl+Shift+K)
  • Insert Image (Ctrl+G)
  • Insert Table
    v
  • Find and Replace (Ctrl+H)
  • Full Screen (F11)
  • v
  • v
  • v
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color
    v
  • Fore Color
    v


This demo illustrates the DevExpress ASP.NET MVC HTML Editor (HtmlEditorExtension) control's ability to support either a menu toolbar or a ribbon toolbar element.

The ToolbarMode property specifies the type of the toolbar. This property can be set to the following values.

  • Menu – the toolbar for the HTML Editor is rendered as a menu. The menu toolbars can be customized via the Toolbars collection.
  • Ribbon – the toolbar for the HTML Editor is rendered as a ribbon. The ribbon tabs can be customized via the RibbonTabs collection.
  • OneLine Ribbon – the toolbar for the HTML Editor is rendered as a ribbon that displays all items in an active tab in one line.
  • None – the HTML Editor does not have a toolbar.
  • ExternalRibbon – the HTML Editor uses an external Ribbon extension as a toolbar. To try this toolbar mode, see the External Ribbon demo.

In this demo, use the Toolbar Mode combo box to specify the HTML Editor toolbar mode. Since the menu toolbar and ribbon tab collections are not customized in the markup, the default collections are rendered in the HTML Editor.