Skip to main content

ASPxHtmlEditor.CreateDefaultRibbonTabs(Boolean) Method

Creates a collection of default Ribbon tabs, specifying what to do with tabs that already exist within the ASPxHtmlEditor.RibbonTabs collection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public void CreateDefaultRibbonTabs(
    bool clearExistingRibbonTabs
)

Parameters

Name Type Description
clearExistingRibbonTabs Boolean

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

Remarks

Use the CreateDefaultRibbonTabs method to manually create a default set of Ribbon tabs within the ASPxHtmlEditor. The method’s clearExistingRibbonTabs parameter allows you to specify how tabs that already exist within the ASPxHtmlEditor.RibbonTabs collection are dealt with.

Custom tabs can be added to the ASPxHtmlEditor.RibbonTabs collection using the collection’s HtmlEditorRibbonTabCollection.Add method.

See Also