Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Collapse]HTML Editor
    Deployment of ASPxHtmlEditor
    Main Features
    Getting Started
    ASPxHtmlEditor Designer
   [Collapse]Concepts
    [Expand]View Modes
    [Expand]Get and Set HTML
    [Collapse]Toolbars
     [Collapse]Menu Toolbar
      [Expand]Menu Toolbar Items
      Ribbon Toolbar
    [Expand]Dialogs
     Context Menu
     Placeholders
    [Expand]Content Filtering and Validation
    [Expand]Layout
     Searching Content
     Client-Side Commands
     Keyboard Shortcuts
     Import and Export
     Support for SharePoint
   [Expand]Visual Elements
   [Expand]Examples
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

How would you rate this topic?​​​​​​​