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

GridOptionsSelection.ShowCheckBoxSelectorInGroupRow Property

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.v21.2.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowCheckBoxSelectorInGroupRow { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True, to display group row check boxes; otherwise, Default or False.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowCheckBoxSelectorInGroupRow
GridView
.OptionsSelection .ShowCheckBoxSelectorInGroupRow

Remarks

If multiple row selection is performed using check boxes (see ColumnViewOptionsSelection.MultiSelect, GridOptionsSelection.MultiSelectMode), check boxes are not displayed in group rows by default.

GridView_OptionsSelection_ShowCheckBoxSelectorInGroupRow_False

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.

GridView_OptionsSelection_ShowCheckBoxSelectorInGroupRow_True

You can also show/hide a check box in the check box column header by using the GridOptionsSelection.ShowCheckBoxSelectorInColumnHeader property.

See Also