Skip to main content

DataGridView.SelectionMode Property

Gets or sets whether a user can select rows. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public SelectionMode SelectionMode { get; set; }

Property Value

Type Description
SelectionMode

The selection mode.

Available values:

Name Description
None

A user cannot select rows in the grid.

Single

A user can select one row at a time.

Multiple

A user can select multiple rows at a time.

Remarks

You can allow users to select one or multiple rows, or prevent row selection. Set the SelectionMode property to one of the following values:

Multiple
A user can select one or multiple rows.
Single
A user can select one row at a time.
None
A user cannot select rows in the grid.

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

See Also