Skip to main content

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 Description
raiseEvents Boolean True

true if all groups of rows are closed; otherwise, false.

Remarks

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

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

See Also