[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Collapse]HTML Editor
    Deployment of ASPxHtmlEditor
    Main Features
    Getting Started
    ASPxHtmlEditor Designer
    [Expand]View Modes
    [Expand]Get and Set HTML
     [Collapse]Menu Toolbar
      [Expand]Menu Toolbar Items
      Ribbon Toolbar
     Context Menu
    [Expand]Content Filtering and Validation
     Searching Content
     Client-Side Commands
     Keyboard Shortcuts
     Import and Export
     Support for SharePoint
   [Expand]Visual Elements
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Menu Toolbar

Menu toolbars are displayed in the ASPxHtmlEditor when the ASPxHtmlEditor.ToolbarMode property is set to Menu.

ASPxHtmlEditor stores menu toolbars in its ASPxHtmlEditor.Toolbars collection, which is represented by an instance of the HtmlEditorToolbarCollection class, and allows individual toolbars to be added, deleted and accessed using an indexer notation or their names.

Individual menu toolbar objects are represented by descendants of the HtmlEditorToolbar class. A toolbar's visibility and visible order relative to the other toolbars can be controlled by using the HtmlEditorToolbar.Visible and HtmlEditorToolbar.VisibleIndex properties, respectively. To define a toolbar's unique identifier name, which can be used to obtain the toolbar at runtime, use the HtmlEditorToolbar.Name property.

Each menu toolbar implements the HtmlEditorToolbar.Items collection that can contain a set of toolbar items (default or custom).

You can modify toolbar and item collections at design time using the ASPxHtmlEditor Designer.

Expanded Default Toolbars

ASPxHtmlEditor provides the following default toolbars that contain predefined sets of default toolbar items, grouped by specific functionality.

Expanded Custom toolbars

The ASPxHtmlEditor allows you to create custom toolbars, which can contain custom or default toolbar items. Represented by the HtmlEditorToolbar class instances, custom toolbars implement ordinary toolbar functionality.

Is this topic helpful?​​​​​​​