Tab

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.v21.1.dll

Declaration

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

Parameters

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