HtmlEditorToolbarCollection.Add(String, HtmlEditorToolbarItem[]) Method
Creates a new toolbar with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A String value that specifies the created toolbar’s name. Initializes the HtmlEditorToolbar.Name property. |
| items | HtmlEditorToolbarItem[] | An array that contains zero or more HtmlEditorToolbarItem objects, to populate the HtmlEditorToolbar.Items collection. |
Returns
| Type | Description |
|---|---|
| HtmlEditorToolbar | An HtmlEditorToolbar object representing the newly created toolbar. |
Remarks
Use the Add method to add a new toolbar with the specified settings to the end of the HtmlEditorToolbarCollection object.
See Also