Skip to main content

DXCollectionView.GroupCollapsed Event

Occurs after a group of items has been collapsed.

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

Declaration

public event EventHandler<ItemEventArgs> GroupCollapsed

Event Data

The GroupCollapsed event's data class is ItemEventArgs. The following properties provide information specific to this event:

Property Description
ItemHandle Gets the handle of the processed item.

Remarks

The GroupCollapsed event is raised after a group of data items is collapsed from the UI or code (CollapseGroup). This event serves as a notification and does not allow you to cancel the action. To prevent a group from being collapsed, handle the GroupCollapsing event and set its parameter’s Cancel inherited property to true.

When you call the CollapseAllGroups method, the GroupCollapsed event is raised for each group.

See Also