Skip to main content
A newer version of this page is available. .

ASPxHtmlEditor.CreateDefaultRibbonContextTabCategories(Boolean) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.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.

Online Demo

Ribbon Context Tabs

See Also