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

MVCxGridViewLayoutItemCollection.AddCommandItem() Method

Creates a new command item with the default settings and adds it to the MVCxGridViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public EditModeCommandLayoutItem AddCommandItem()
Public Function AddCommandItem As EditModeCommandLayoutItem

Returns

Type Description
EditModeCommandLayoutItem

An EditModeCommandLayoutItem object that is the newly created command item.

See Also