'Declaration Public Event GroupCollapsing As GroupExpansionChangingEventHandler
'Usage Dim instance As DataGridControl Dim handler As GroupExpansionChangingEventHandler AddHandler instance.GroupCollapsing, handler
public event GroupExpansionChangingEventHandler GroupCollapsing
Event Data
The event handler receives an argument of type GroupExpansionChangingEventArgs containing data related to this event. The following GroupExpansionChangingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value that indicates if the routed event is to be canceled. |
CollectionViewGroup | Gets the CollectionView of items pertaining to the current group. |
DataGridContext | Gets the DataGridContext of the current group. |
Group | Gets the current group. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
IsExpanding | Gets a value that indicates if the group is expanding (true), or collapsing (false). |
OriginalSource | (Inherited from ) |
RoutedEvent | (Inherited from ) |
Source | (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