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.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, 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