Skip to main content

CardViewDataItemTemplateContainer(ASPxCardView, Int32, Object, CardViewColumn, CardViewColumnLayoutItem) Constructor

Initializes a new instance of the CardViewDataItemTemplateContainer class with the specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public CardViewDataItemTemplateContainer(
    ASPxCardView grid,
    int visibleIndex,
    object dataItem,
    CardViewColumn column,
    CardViewColumnLayoutItem layoutItem


Name Type Description
grid ASPxCardView

An ASPxCardView object that owns the current object. This value is assigned to the CardViewBaseTemplateContainer.CardView property.

visibleIndex Int32

An integer value that specifies the rendered item object’s index. This value is assigned to the TemplateContainerBase.ItemIndex property.

dataItem Object

An object that represents the data item.

column CardViewColumn
layoutItem CardViewColumnLayoutItem
See Also