All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

DXCollectionView.GroupCollapsing Event

Occurs before a group of items is collapsed.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

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