The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Name Type Description
rowHandle Int32

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

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

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

See Also