MVCxTreeListToolbarItemCollection.Add(TreeListToolbarCommand, Boolean) Method

Adds a new toolbar item to the collection.

Namespace: DevExpress.Web.Mvc

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


public MVCxTreeListToolbarItem Add(
    TreeListToolbarCommand command,
    bool beginGroup
Public Function Add(
    command As TreeListToolbarCommand,
    beginGroup As Boolean
) As MVCxTreeListToolbarItem


Name Type Description
command TreeListToolbarCommand

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

beginGroup Boolean

true, if the current toolbar item starts a group; otherwise, false.


Type Description

A MVCxTreeListToolbarItem object that is the newly added toolbar item.

See Also