Back to Devexpress

DataGridView.FindRowHandle(Object) Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-dot-findrowhandle-x28-system-dot-object-x29.md

latest1.1 KB
Original Source

DataGridView.FindRowHandle(Object) Method

Returns the handle of the DataGridView row that corresponds to a data object passed in the parameters.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public int FindRowHandle(
    object item
)

Parameters

NameTypeDescription
itemSystem.Object

The search object.

|

Returns

TypeDescription
Int32

The row handle.

|

Remarks

If the corresponding row is not found, the FindRowHandle method returns DataGridView.InvalidRowHandle.

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace