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

Declaration

public void Add<T>(
    Action<T> method
)
    where T : HtmlEditorToolbarItem, new()
Public Sub Add(Of T As {HtmlEditorToolbarItem, New})(
    method As Action(Of T)
)

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 Description
T
See Also