Xceed Toolkit Plus for WPF v4.6 Documentation
CollapseGroup Method (DataGridControl)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : CollapseGroup Method
A CollectionViewGroup representing the master group to collapse.
Collapses the specified master group.
Syntax
'Declaration
 
Public Function CollapseGroup( _
   ByVal group As CollectionViewGroup _
) As Boolean
'Usage
 
Dim instance As DataGridControl
Dim group As CollectionViewGroup
Dim value As Boolean
 
value = instance.CollapseGroup(group)
public bool CollapseGroup( 
   CollectionViewGroup group
)

Parameters

group
A CollectionViewGroup representing the master group to collapse.
Exceptions
ExceptionDescription
The specified CollectionViewGroup is not a master group.
Remarks

The state of child groups will not be affected if their parent is collapsed.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members

Methods

ExpandGroup Method
ToggleGroupExpansion Method