Skip to main content

DataGridView.SelectionMode Property

Gets or sets whether end users can select rows in the grid.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll


public SelectionMode SelectionMode { get; set; }

Property Value

Type Description

A value that specifies whether a row can be selected in the grid.

Available values:



When a user taps a data row in the grid, this row becomes selected. You can set the SelectionMode property to SelectionMode.None to prevent users from selecting rows.

Grid Data Rows

To get or set the grid’s selected row, use the SelectedRowHandle property. The SelectedItem property returns an object that specifies a data source record to which the row selected in the grid corresponds. After the grid’s selection is changed, the DataGridView.SelectionChanged event occurs.

See Also