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.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

C#
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