Skip to main content

HtmlEditorToolbar.CreateDefaultItems() Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public HtmlEditorToolbar CreateDefaultItems()

Returns

Type Description
HtmlEditorToolbar

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

Remarks

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