Skip to main content

PivotGridControl.CollapseAllRows() Method

In This Article

Collapses all rows.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public void CollapseAllRows()

#Remarks

To collapse all rows asynchronously, use the PivotGridControl.CollapseAllRowsAsync method.

To expand all rows, use the PivotGridControl.ExpandAllRowsAsync (asynchronous) or PivotGridControl.ExpandAllRows (synchronous) method.

To expand or collapse all columns asynchronously, use the PivotGridControl.ExpandAllColumnsAsync and PivotGridControl.CollapseAllColumnsAsync methods, respectively (or the PivotGridControl.ExpandAllColumns and PivotGridControl.CollapseAllColumns methods to do this synchronously).

See Also