Skip to main content

MVCxCardViewToolbarItemCollection.Add(CardViewToolbarCommand, Boolean) 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 MVCxCardViewToolbarItem Add(
    CardViewToolbarCommand command,
    bool beginGroup
)

Parameters

Name Type Description
command CardViewToolbarCommand

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

beginGroup Boolean

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

Returns

Type Description
MVCxCardViewToolbarItem

A MVCxCardViewToolbarItem object that is the newly added toolbar item.

See Also