Skip to main content

HtmlEditorToolbar.CreateStandardToolbar1() Method

Creates the StandardToolbar1 default toolbar and populates it with relevant default items.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public static HtmlEditorToolbar CreateStandardToolbar1()

Returns

Type Description
HtmlEditorToolbar

An HtmlEditorToolbar object representing the StandardToolbar1.

Remarks

This method automatically calls HtmlEditorToolbar.CreateDefaultItems, to populate the toolbar’s dropdown list items with relevant items.

To create the StandardToolbar2 default toolbar, call the HtmlEditorToolbar.CreateStandardToolbar2 method. To create both the StandardToolbar1 and StandardToolbar2 default toolbars, call the ASPxHtmlEditor.CreateDefaultToolbars or HtmlEditorToolbarCollection.CreateDefaultToolbars method. At design time, you can create default toolbars using the ASPxHtmlEditor Designer.

See Also