Skip to main content

GridControl.FindRowByValueAsync(ColumnBase, Object) Method

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public Task<int> FindRowByValueAsync(
    ColumnBase column,
    object value


Name Type Description
column ColumnBase

The column to be searched.

value Object

An object that is the search value.


Type Description

A Task<TResult> object which Result property is an integer value that is the handle of the corresponding row.


If the value is not found, the FindRowByValueAsync property returns DataControlBase.InvalidRowHandle.

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

To learn more, see Obtaining Row Handles.

See Also