GridControl.FindRowByValue(GridColumn, Object) Method

Searches for the value in the column and returns the handle of the corresponding row.

Namespace: DevExpress.Mobile.DataGrid

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


public int FindRowByValue(
    GridColumn column,
    object value
Public Function FindRowByValue(
    column As GridColumn,
    value As Object
) As Integer


Type Name Description
GridColumn column

The column to be searched.

Object value

An object that is the search value.


Type Description

An integer value that is the handle of the corresponding row.


If the column contains more than one search value, the FindRowByValue method returns the handle of the first corresponding row.

If the value is not found, the FindRowByValue method returns GridControl.InvalidRowHandle.

See Also