Skip to main content
A newer version of this page is available. .

DataGridView.CollapseAllGroups(Boolean) Method

Collapses all groups of rows.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public void CollapseAllGroups(
    bool raiseEvents = true
)

Optional Parameters

Name Type Default
raiseEvents Boolean True

Remarks

To collapse an individual group of row, use the DataGridView.CollapseGroupRow method.

To expand groups of rows, use the DataGridView.ExpandAllGroups or DataGridView.ExpandGroupRow method.

See Also