A newer version of this page is available. Switch to the current version.

MVCxVerticalGridToolbarItemCollection.Add(VerticalGridToolbarCommand, Boolean) Method

Adds a new toolbar item to the collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxVerticalGridToolbarItem Add(
    VerticalGridToolbarCommand command,
    bool beginGroup
)
Public Function Add(
    command As VerticalGridToolbarCommand,
    beginGroup As Boolean
) As MVCxVerticalGridToolbarItem

Parameters

Name Type Description
command VerticalGridToolbarCommand

A VerticalGridToolbarCommand 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
MVCxVerticalGridToolbarItem

A MVCxVerticalGridToolbarItem object that is the newly added toolbar item.

See Also