A newer version of this page is available. Switch to the current version.

ASPxHtmlEditor.CreateDefaultRibbonContextTabCategories(Boolean) Method

Creates default context tab categories in the ASPxHtmlEditor's ribbon.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll


public void CreateDefaultRibbonContextTabCategories(
    bool clearExistingContextTabCategories
Public Sub CreateDefaultRibbonContextTabCategories(
    clearExistingContextTabCategories As Boolean


Name Type Description
clearExistingContextTabCategories Boolean

true to delete existing categories; false to add the default categories to the collection.


When the ASPxHtmlEditor.ToolbarMode property is set to Ribbon, ASPxHtmlEditor displays a ribbon toolbar. Use the CreateDefaultRibbonContextTabCategories method to manually populate the toolbar with the default Layout context tab category that contains table-related commands and is displayed when a selection is in a table.

Online Demo

Ribbon Context Tabs

See Also