Skip to main content

DXCollectionView.GroupExpanding Event

Occurs before a group of items is expanded.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

Declaration

public event ItemAllowEventHandler GroupExpanding

Event Data

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

Property
Allow
ItemHandle

Remarks

The GroupExpanding event is raised before a group of data items is expanded from UI or code (ExpandGroup). You can handle this event and set its parameter’s Allow property to false to prevent a group from being expanded.

When you call the ExpandAllGroups method, the GroupExpanding event is raised for each group.

After the group has been expanded, the GroupExpanded event is raised.

See Also