Back to Devexpress

GridOptionsSelection.ShowCheckBoxSelectorChangesSelectionNavigation Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsselection-dd3bed7f.md

latest3.9 KB
Original Source

GridOptionsSelection.ShowCheckBoxSelectorChangesSelectionNavigation Property

Gets or sets whether multiple row selection in the check box column can be changed while navigating through grid rows with the keyboard.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowCheckBoxSelectorChangesSelectionNavigation { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
<Browsable(False)>
Public Overridable Property ShowCheckBoxSelectorChangesSelectionNavigation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

Default or True if multiple rows can be selected in the check box column when navigating through the grid with the keyboard; False to synchronize the focused and selected row when navigating using the keyboard.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCheckBoxSelectorChangesSelectionNavigation
GridView

.OptionsSelection .ShowCheckBoxSelectorChangesSelectionNavigation

|

Remarks

By default, end-users are allowed to select multiple rows while navigating through the grid with the keyboard. Setting the ShowCheckBoxSelectorChangesSelectionNavigation property to False enables the automatic selection of the focused row, while the row losing focus is automatically deselected. In this mode, only one row focused with the keyboard is selected at one time.

See Also

ShowCheckBoxSelectorInColumnHeader

ShowCheckBoxSelectorInGroupRow

ShowCheckBoxSelectorInPrintExport

MultiSelectMode

MultiSelect

Multiple Row Selection using Built-In Check Column and Selection Binding

GridOptionsSelection Class

GridOptionsSelection Members

DevExpress.XtraGrid.Views.Grid Namespace