Skip to main content

MVCxHtmlEditorToolbarCollection.Add(String, HtmlEditorToolbarItem[]) Method

Creates a new toolbar with the specified settings and adds it to the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

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

Parameters

Name Type Description
name String

A String value that specifies the created toolbar’s name.

items HtmlEditorToolbarItem[]

An array that contains zero or more HtmlEditorToolbarItem objects.

Returns

Type Description
MVCxHtmlEditorToolbar

An MVCxHtmlEditorToolbar object that is the newly created toolbar.

Remarks

Use the Add method to add a new toolbar with the specified settings to the end of the MVCxHtmlEditorToolbarCollection object.

See Also