Skip to main content

MVCxTreeListToolbarItemCollection.Add(TreeListToolbarCommand) Method

Adds a new toolbar item to the collection.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxTreeListToolbarItem Add(
    TreeListToolbarCommand command
)

Parameters

Name Type Description
command TreeListToolbarCommand

A TreeListToolbarCommand object that is the command that corresponds to this toolbar item.

Returns

Type Description
MVCxTreeListToolbarItem

A MVCxTreeListToolbarItem object that is the newly added toolbar item.

See Also