Skip to main content
A newer version of this page is available. .

HtmlEditorToolbar.CreateDefaultItems() Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.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