A newer version of this page is available. Switch to the current version.

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


public MVCxHtmlEditorToolbar Add(
    string name,
    params HtmlEditorToolbarItem[] items
Public Function Add(
    name As String,
    ParamArray items As HtmlEditorToolbarItem()
) As MVCxHtmlEditorToolbar


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.


Type Description

An MVCxHtmlEditorToolbar object that is the newly created toolbar.


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

See Also