DXCollectionView.CollapseAllGroups(Boolean) Method
Collapses all groups of items.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
Declaration
public void CollapseAllGroups(
bool raiseEvents = true
)
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
raiseEvents | Boolean | True |
|
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