Skip to main content

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

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