Skip to main content

CardViewCardTemplateContainer(ASPxCardView, Int32, Object) Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public CardViewCardTemplateContainer(
    ASPxCardView grid,
    int visibleIndex,
    object dataItem


Name Type Description
grid ASPxCardView

An ASPxCardView 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.

See Also