GridControl.FindRowByValueAsync(ColumnBase, Object) Method
In This Article
Searches for the value in the column and returns the handle of the corresponding row asynchronously.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public Task<int> FindRowByValueAsync(
ColumnBase column,
object value
)
#Parameters
Name | Type | Description |
---|---|---|
column | Column |
The column to be searched. |
value | Object | An object that is the search value. |
#Returns
Type | Description |
---|---|
Task<Int32> | A Task |
#Remarks
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