Skip to main content

MVCxHtmlEditorToolbarItemCollection.Add<T>(Action<T>) Method

Adds a new toolbar item of the specified type to the collection and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void Add<T>(
    Action<T> method
)
    where T : HtmlEditorToolbarItem, new()

Parameters

Name Type Description
method Action<T>

A delegate method that accepts the created toolbar item (of the specified type) as a parameter.

Type Parameters

Name
T
See Also