Skip to main content

ASPxHtmlEditor.CreateDefaultRibbonContextTabCategories(Boolean) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public void CreateDefaultRibbonContextTabCategories(
    bool clearExistingContextTabCategories
)

Parameters

Name Type Description
clearExistingContextTabCategories Boolean

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

Remarks

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.

Run Demo: Ribbon Context Tabs

See Also