GridControl.CollapseAllGroups() Method

Collapses all group rows.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Syntax

public void CollapseAllGroups()

To collapse the specified group row, use the GridControl.CollapseGroupRow method.

Before a group row is collapsed, the GridControl.GroupRowCollapsing event is raised, allowing you to cancel the action. After a group row has been collapsed, the GridControl.GroupRowCollapsed event is raised.

To expand group rows, use the GridControl.ExpandAllGroups or GridControl.ExpandGroupRow method.

See Also