HtmlEditorToolbar.CreateStandardToolbar2() Method
Creates the StandardToolbar2 default toolbar, and populates it with relevant default items.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
Declaration
Returns
Type | Description |
---|---|
HtmlEditorToolbar | An HtmlEditorToolbar object representing the StandardToolbar2. |
Remarks
This method automatically calls HtmlEditorToolbar.CreateDefaultItems, to populate the toolbar’s dropdown list items with relevant items.
To create the StandardToolbar1 default toolbar, call the HtmlEditorToolbar.CreateStandardToolbar1 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.