Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Ribbon Context Tabs

  • Undo

    Undo
    po
  • Clipboard

    Clipboard
    po
  • v
    v
    popo
    v
    Font

    Font
    po
  • Paragraph

    Paragraph
    po
  • Editing

    Editing
    po

A context tab is a hidden ribbon tab that is displayed when a corresponding element (such as an image or a table) is selected. One element can correspond to several context tabs. Therefore, the tabs are combined into categories. The collection of categories is accessible by the RibbonContextTabCategories property.

By default, ASPxHtmlEditor provides a Layout context tab that contains table-related commands and is displayed when a selection is in a table.

You can create custom context tabs and manually change tab visibility based on a selected element using the SetRibbonContextTabCategoryVisible method.

In this demo, a default Layout and custom Format tabs are provided for ASPxHtmlEditor.

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 Components 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