Skip to main content
Tab

GridViewLayoutItemCollection.AddCommandItem(EditModeCommandLayoutItem) Method

Adds the specified item to the GridViewLayoutItemCollection collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public EditModeCommandLayoutItem AddCommandItem(
    EditModeCommandLayoutItem commandItem
)

Parameters

Name Type Description
commandItem EditModeCommandLayoutItem

A EditModeCommandLayoutItem object to add to the layout item collection.

Returns

Type Description
EditModeCommandLayoutItem

A EditModeCommandLayoutItem object that is the newly added command item.

See Also