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

Declaration

public int FindRowByValue(
    string fieldName,
    object value
)

Parameters

Name Type Description
fieldName String

The field name of the column to be searched.

value Object

The search value.

Returns

Type Description
Int32

The row handle.

Remarks

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