GridControl.FindRow(Object) Method
In This Article
Searches for the data row in the GridControl and returns the row’s handle.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
value | Object | The searched row. |
#Returns
Type | Description |
---|---|
Int32 | The row’s handle. |
#Remarks
In the GridControl, each row corresponds to an object from the data source. Pass this object to the FindRow method as a parameter to get a row handle that identifies the row. If the row does not exist, the FindRow method returns DataControlBase.InvalidRowHandle.
If the column contains more than one search value, the FindRow method returns the handle of the first matching row.
See Also