Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

public HtmlEditorToolbar Add(
    string name,
    params HtmlEditorToolbarItem[] items
)

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