GridControl.ExpandAllGroups() Method

Expands all group rows.

Namespace: DevExpress.Mobile.DataGrid

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


public void ExpandAllGroups()
Public Sub ExpandAllGroups



This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

To expand the specified group row, use the GridControl.ExpandGroupRow method.

Before a group row is expanded, the GridControl.GroupRowExpanding event is raised, allowing you to cancel the action. After a group row has been expanded, the GridControl.GroupRowExpanded event is raised.

To collapse group rows, use the GridControl.CollapseAllGroups or GridControl.CollapseGroupRow method.

See Also