HtmlEditorToolbar.CreateDefaultItems() Method

Populates the toolbar's dropdown list items with default items.

Namespace: DevExpress.Web.ASPxHtmlEditor

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


public HtmlEditorToolbar CreateDefaultItems()


Type Description

The toolbar, whose default items are dropdown lists populated with items that provide the appropriate, predefined functionality.


This method iterates through the toolbar's items and calls an item's CreateDefaultItems method, if the item represents a dropdown list.

Call the CreateDefaultItems method when adding default items to a custom toolbar, to populate dropdown list items with items providing the appropriate predefined functionality. For default toolbars, this method is called automatically.

See Also