windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsselection-a0c278d9.md
Gets or sets whether check boxes are displayed in group rows allowing end-users to select/deselect all rows of a particular group.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowCheckBoxSelectorInGroupRow { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowCheckBoxSelectorInGroupRow As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
True , to display group row check boxes; otherwise, Default or False.
|
Available values:
| Name | Description | Return 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
|
You can access this nested property as listed below:
| Object Type | Path to ShowCheckBoxSelectorInGroupRow |
|---|---|
| GridView |
.OptionsSelection .ShowCheckBoxSelectorInGroupRow
|
If multiple row selection is performed using check boxes (see ColumnViewOptionsSelection.MultiSelect, GridOptionsSelection.MultiSelectMode), check boxes are not displayed in group rows by default.
Group row check boxes allow users to check/uncheck all rows in a particular group. You can display check boxes in group rows by setting the ShowCheckBoxSelectorInGroupRow to True.
You can also show/hide a check box in the check box column header by using the GridOptionsSelection.ShowCheckBoxSelectorInColumnHeader property.
See Also
ShowCheckBoxSelectorInColumnHeader
Multiple Row Selection using Built-In Check Column and Selection Binding