Occurs before a group of items is collapsed.
NuGet Package: DevExpress.Maui.CollectionView
public event EventHandler<CancelItemEventArgs> GroupCollapsing
The GroupCollapsing event's data class is CancelItemEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|ItemHandle||Returns the handle of the processed item.|
The GroupCollapsing event is raised before a group of data items is collapsed from UI or code (CollapseGroup). You can handle this event and set its parameter’s Cancel inherited property to
true to prevent a group from being collapsed.
When you call the CollapseAllGroups method, the GroupCollapsing event is raised for each group.
After a group has been collapsed, the GroupCollapsed event is raised.