Skip to main content
All docs
V19.2

MVCxCardViewLayoutItemCollection.AddCommandItem(EditModeCommandLayoutItem) Method

Adds the specified item to the MVCxCardViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public EditModeCommandLayoutItem AddCommandItem(
    EditModeCommandLayoutItem commandItem
)

Parameters

Name Type Description
commandItem EditModeCommandLayoutItem

An EditModeCommandLayoutItem object to add to the layout item collection.

Returns

Type Description
EditModeCommandLayoutItem

An EditModeCommandLayoutItem object that is the newly added command item.

See Also