Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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