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

GridView.OptionsSelection Property

Provides access to the View’s selection options.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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