HtmlEditorToolbar.CreateStandardToolbar2(Boolean) Method
Creates the StandardToolbar2 default toolbar, populates it with relevant default items, specifying whether the layout of the toolbar is reversed.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
rtl | Boolean |
|
Returns
Type | Description |
---|---|
HtmlEditorToolbar | An HtmlEditorToolbar object which is the StandardToolbar2. |
Remarks
Use the CreateStandardToolbar2 method to manually create the StandardToolbar2 within the HtmlEditorToolbarCollection. The method’s rtl parameter allows you to specify whether the layout of the toolbar is reversed, to support the right-to-left layout.
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.