The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataGridView.SelectionMode Property

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

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public SelectionMode SelectionMode { get; set; }

Property Value

Type Description
SelectionMode

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

Remarks

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