MVCxCardViewLayoutItemCollection.AddCommandItem(Action<CardViewCommandLayoutItem>) Method
Adds a new command item to the MVCxCardViewLayoutItemCollection collection and allows you to customize this item in a delegate method implementation.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public CardViewCommandLayoutItem AddCommandItem(
Action<CardViewCommandLayoutItem> method
)
Parameters
Name | Type | Description |
---|---|---|
method | Action<CardViewCommandLayoutItem> | A delegate method that accepts the created CardViewCommandLayoutItem as a parameter. |
Returns
Type | Description |
---|---|
CardViewCommandLayoutItem | A CardViewCommandLayoutItem object that is the newly added command item. |
See Also