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

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.v18.2.dll

Declaration

public MVCxCardViewColumnLayoutItem Add(
    Action<MVCxCardViewColumnLayoutItem> method
)
Public Function Add(
    method As Action(Of MVCxCardViewColumnLayoutItem)
) As MVCxCardViewColumnLayoutItem

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