Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public int FindRowHandle(
    object item
)

#Parameters

Name Type Description
item System.Object

The search object.

#Returns

Type Description
Int32

The row handle.

#Remarks

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

See Also