Skip to main content

MVCxCardViewLayoutItemCollection.Add(Action<MVCxCardViewColumnLayoutItem>) Method

Adds a new 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.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxCardViewColumnLayoutItem Add(
    Action<MVCxCardViewColumnLayoutItem> method
)

Parameters

Name Type Description
method Action<MVCxCardViewColumnLayoutItem>

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

Returns

Type Description
MVCxCardViewColumnLayoutItem

An MVCxCardViewColumnLayoutItem object that is the newly added layout item.

See Also