DataGridView.GetSourceRowIndex(Int32) Method
In This Article
Gets the index of the data source record to which the specified row handle corresponds.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
#Declaration
C#
public int GetSourceRowIndex(
int rowHandle
)
#Parameters
Name | Type | Description |
---|---|---|
row |
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