Skip to main content

VGridControlBase.GetRecordIndex(Int32) Method

Returns the index (visual position) of the vertical grid record that corresponds to the data source record with the specified index.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid

Declaration

public virtual int GetRecordIndex(
    int dataSourceRecordIndex
)

Parameters

Name Type Description
dataSourceRecordIndex Int32

The data source record index for which to return the corresponding vertical grid record index (visual position).

Returns

Type Description
Int32

The index (visual position) of the vertical grid record that corresponds to the data source record with the specified index.

See Also