MVCxGridViewLayoutItemCollection.AddCommandItem(Action<EditModeCommandLayoutItem>) Method
In This Article
Adds a new command item to the MVCxGridViewLayoutItemCollection collection and allows you to customize this item in a delegate method implementation.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public EditModeCommandLayoutItem AddCommandItem(
Action<EditModeCommandLayoutItem> method
)
#Parameters
Name | Type | Description |
---|---|---|
method | Action<Edit |
A delegate method that accepts the created Edit |
#Returns
Type | Description |
---|---|
Edit |
A Edit |
See Also