Skip to main content
A newer version of this page is available. .

GridView.OptionsSelection Property

Provides access to the View’s selection options.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.1.dll

NuGet Package: DevExpress.Win.Grid

Declaration

[DXCategory("Options")]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public GridOptionsSelection OptionsSelection { get; }

Property Value

Type Description
GridOptionsSelection

A GridOptionsSelection object containing the View’s selection options.

Remarks

The object returned provides a set of Boolean properties specifying the View’s row selection functionality. Please refer to the GridOptionsSelection class description for a list of available options and their descriptions.

using DevExpress.XtraGrid.Views.Grid;

gridView1.OptionsSelection.MultiSelect = true;
gridView1.OptionsSelection.MultiSelectMode = GridMultiSelectMode.CheckBoxRowSelect;
See Also