Xceed DataGrid for WPF v7.2 Documentation
IsGroupSelectionEnabled Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : IsGroupSelectionEnabled Property
Gets or sets a value indicating that the datagrid's group selection feature is enabled. Allows the end-user to select entire groups as well as rows. See Remarks below for more information.
Syntax
'Declaration
 
Public Property IsGroupSelectionEnabled As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.IsGroupSelectionEnabled = value
 
value = instance.IsGroupSelectionEnabled
public bool IsGroupSelectionEnabled {get; set;}

Property Value

true to enable group selection, false to disable group selection. By defaul, false.
Remarks

The group selection feature allows the end-user to select/unselect all rows within a group by clicking any group header that contains a GroupHeaderControl.

This behavior is off by default. To activate it, set this property to "True". The DataGrid's selection unit must be "Row" and the view must be a valid instance or subclass of TableView (e.g. TableFlowView, TreeGridflowView).

Standard keyboard and mouse gestures are supported and can be used to select a group. The GroupHeaderControl of a group will also appear selected when all rows within that group has been selected.

Selection range:

When activated, a collapsed group that falls within a manually added selection range will have all its contained items added to the selection.

Requirements

See Also

Reference

DataGridControl Class
DataGridControl Members