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