Skip to main content

MVCxGridViewToolbarItemCollection.Add(GridViewToolbarCommand) Method

Adds a new toolbar item to the collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxGridViewToolbarItem Add(
    GridViewToolbarCommand command
)

Parameters

Name Type Description
command GridViewToolbarCommand

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

Returns

Type Description
MVCxGridViewToolbarItem

A MVCxGridViewToolbarItem object that is the newly added toolbar item.

See Also