A newer version of this page is available.

MVCxGridViewLayoutItemCollection.AddCommandItem(EditModeCommandLayoutItem) Method

Adds the specified item to the MVCxGridViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public EditModeCommandLayoutItem AddCommandItem(
    EditModeCommandLayoutItem commandItem
)
Public Function AddCommandItem(
    commandItem As EditModeCommandLayoutItem
) As EditModeCommandLayoutItem

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