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

DataGridView.FindRowByValue(String, Object) Method

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

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll


public int FindRowByValue(
    string fieldName,
    object value


Name Type Description
fieldName String

The field name of the column to be searched.

value Object

The search value.


Type Description

The row handle.


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 DataGridView.InvalidRowHandle.

See Also