Skip to main content

VerticalGridDataItemTemplateContainer(ASPxVerticalGrid, Object, Int32, VerticalGridDataRow) Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public VerticalGridDataItemTemplateContainer(
    ASPxVerticalGrid grid,
    object dataRow,
    int visibleIndex,
    VerticalGridDataRow row


Name Type Description
grid ASPxVerticalGrid

An ASPxVerticalGrid object. This value is assigned to the VerticalGridBaseTemplateContainer.Grid property.

dataRow Object

An object that uniquely identifies the data row (which is a record in the vertical grid) that contains the template container. This value is assigned to the VerticalGridDataItemTemplateContainer.KeyValue property.

visibleIndex Int32

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

row VerticalGridDataRow

A VerticalGridDataRow object that represents the data row to which the current object belongs. This value is assigned to the VerticalGridDataItemTemplateContainer.Row property.

See Also