Skip to main content

ASPxRichEdit.CreateDefaultRibbonTabs(Boolean) Method

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

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v23.2.dll

NuGet Package: DevExpress.Web.Office

Declaration

public void CreateDefaultRibbonTabs(
    bool clearExistingTabs
)

Parameters

Name Type Description
clearExistingTabs 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 ASPxRichEdit. The method’s clearExistingTabs parameter allows you to specify how tabs that already exist within the ASPxRichEdit.RibbonTabs collection are dealt with.

Custom tabs can be added to the ASPxRichEdit.RibbonTabs collection using the collection’s Collection<T>.Add method.

See Also