Back to Devexpress

DataGridView.GetSelectedRowHandles() Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-34588dd1.md

latest1.4 KB
Original Source

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

csharp
public int[] GetSelectedRowHandles()

Returns

TypeDescription
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

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace