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


public EditModeCommandLayoutItem AddCommandItem()
Public Function AddCommandItem As EditModeCommandLayoutItem


Type Description

An EditModeCommandLayoutItem object that is the newly created command item.

See Also