Skip to main content

ASPxHtmlEditor.CreateDefaultToolbars(Boolean) Method

Creates a collection of default toolbars, specifying what to do with toolbars that already exist within the ASPxHtmlEditor.Toolbars collection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

Declaration

public void CreateDefaultToolbars(
    bool clearExistingToolbars
)

Parameters

Name Type Description
clearExistingToolbars Boolean

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

Remarks

Use the CreateDefaultToolbars method, to manually create default toolbars within the ASPxHtmlEditor. The method’s clearExistingToolbars parameter allows you to specify how toolbars that already exist within the ASPxHtmlEditor.Toolbars collection are dealt with.

Custom toolbars can be added to the ASPxHtmlEditor.Toolbars collection using the collection’s HtmlEditorToolbarCollection.Add method.

See Also