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.GetSelectedRowHandles() Method

Returns the collection of selected row handles.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public int[] GetSelectedRowHandles()

#Returns

Type Description
Int32[]

The collection of integer values that are the handles of selected rows.

#Remarks

To enable multiple row selection, set the SelectionMode property to Multiple. Use the SelectedItems property to get the collection of data items that correspond to selected rows.

For more information, refer to the following section: How to Select Rows in DevExpress Data Grid for .NET MAUI.

See Also