GridControl.GetRow(Int32) Method
In This Article
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value specifying the desired data row handle. |
#Returns
Type | Description |
---|---|
IRow |
An object implementing the IRow |
#Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the Grid
To get an object representing a record in the grid’s underlying data source to which the specified row corresponds, use the IRowData.DataObject property. To get a value in the specified field, use the IRowData.GetFieldValue method.
If the value of the rowHandle parameter exceeds the permissible limits (greater than the GridControl.RowCount - 1), the GetRow property returns null.
See Also