DataGridView.GetRow(Int32) Method

Gets an object that provides access to the data of the specified row.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public IRowData GetRow(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

The row handle.

Returns

Type Description
IRowData

An object that implements the IRowData interface.

Remarks

To get an object that represents a data source's record to which the specified row corresponds, use the IRowData.Item property. To get a value in the specified field, use the IRowData.GetFieldValue method.

If the rowHandle parameter value exceeds the permissible limits (greater than the RowCount - 1), the GetRow property returns null.

See Also