DataGridView.GetSourceRowIndex(Int32) Method

Gets the index of the data source record to which the specified row handle corresponds.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public int GetSourceRowIndex(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

The grid's row handle.

Returns

Type Description
Int32

A zero-based index of the data record to which the specified row handle corresponds.

Remarks

To get a row handle by its index in the data source, use the DataGridView.GetRowHandle method.

See Also