Skip to main content
A newer version of this page is available.
All docs
V18.2

MVCxCardViewLayoutItemCollection.AddCommandItem(CardViewCommandLayoutItem) Method

Adds the specified item to the MVCxCardViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public CardViewCommandLayoutItem AddCommandItem(
    CardViewCommandLayoutItem commandItem
)

Parameters

Name Type Description
commandItem CardViewCommandLayoutItem

A CardViewCommandLayoutItem object to add to the layout item collection.

Returns

Type Description
CardViewCommandLayoutItem

A CardViewCommandLayoutItem object that is the newly added command item.

See Also