Skip to main content

DXCollectionView.CollapseAllGroups() Method

In This Article

Collapses all groups of items.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

#Declaration

C#
public void CollapseAllGroups()

#Remarks

When you call the CollapseAllGroups method, the GroupCollapsing and GroupCollapsed events are raised for each group.

To collapse an individual group of items, use the CollapseGroup method.

To expand groups of items, use the ExpandAllGroups or ExpandGroup method.

See Also