MVCxHtmlEditorToolbar.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.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
rtl | Boolean | true to reverse the layout of the toolbar; otherwise false. |
Returns
Type | Description |
---|---|
MVCxHtmlEditorToolbar | An MVCxHtmlEditorToolbar object which is the StandardToolbar2. |
Remarks
Use the CreateStandardToolbar2 method to manually create the StandardToolbar2, within the MVCxHtmlEditorToolbarCollection. The method’s rtl parameter allows you to specify whether the layout of the toolbar is reversed, to support the right-to-left layout.
To create the StandardToolbar1 default toolbar, call the MVCxHtmlEditorToolbar.CreateStandardToolbar1 method. To create both the StandardToolbar1 and StandardToolbar2 default toolbars, call the MVCxHtmlEditorToolbarCollection.CreateDefaultToolbars method.