A newer version of this page is available. Switch to the current version.

MVCxCardViewLayoutItemCollection.AddEditModeCommandItem(Action<EditModeCommandLayoutItem>) Method

Adds a new edit mode 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.v18.2.dll


public EditModeCommandLayoutItem AddEditModeCommandItem(
    Action<EditModeCommandLayoutItem> method
Public Function AddEditModeCommandItem(
    method As Action(Of EditModeCommandLayoutItem)
) As EditModeCommandLayoutItem


Name Type Description
method Action<EditModeCommandLayoutItem>

A delegate method that accepts the created EditModeCommandLayoutItem as a parameter.


Type Description

An EditModeCommandLayoutItem object that is the newly added command item.

See Also