GridControl.GetSourceRowIndex(Int32) Method

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

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public int GetSourceRowIndex(
    int rowHandle
)
Public Function GetSourceRowIndex(
    rowHandle As Integer
) As Integer

Parameters

Type Name Description
Int32 rowHandle

An integer value specifying the row handle.

Returns

Type Description
Int32

An integer value specifying the 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 GridControl.GetRowHandle method.

See Also