Skip to main content

DXCollectionView.GroupCollapsing Event

Occurs before a group of items is collapsed.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

Declaration

public event ItemAllowEventHandler GroupCollapsing

Event Data

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

Property
Allow
ItemHandle

Remarks

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 Allow property to false 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.

See Also