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.v25.2.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| clearExistingRibbonTabs | Boolean |
|
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateDefaultRibbonTabs(Boolean) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.