Xceed DataGrid for WPF v7.2 Documentation
GroupCollapsed Event


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : GroupCollapsed Event
Raised after a group has been collapsed.
Syntax
'Declaration
 
Public Event GroupCollapsed As GroupExpansionChangedEventHandler
'Usage
 
Dim instance As DataGridControl
Dim handler As GroupExpansionChangedEventHandler
 
AddHandler instance.GroupCollapsed, handler
public event GroupExpansionChangedEventHandler GroupCollapsed
Event Data

The event handler receives an argument of type GroupExpansionChangedEventArgs containing data related to this event. The following GroupExpansionChangedEventArgs properties provide information specific to this event.

PropertyDescription
Gets the CollectionView of items pertaining to the current group.  
Gets the DataGridContext of the current group.  
Gets the current group.  
(Inherited from System.Windows.RoutedEventArgs)
Gets a value that indicates if the group was expanded (true), or collapsed (false).  
(Inherited from )
(Inherited from )
(Inherited from )
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