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

PivotGridControl.CollapseAllColumns() Method

Collapses all columns.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public void CollapseAllColumns()

Remarks

To collapse all columns asynchronously, use the PivotGridControl.CollapseAllColumnsAsync method.

To expand all columns, use the PivotGridControl.ExpandAllColumnsAsync (asynchronous) or PivotGridControl.ExpandAllColumns (synchronous) method.

To expand or collapse all rows asynchronously, use the PivotGridControl.ExpandAllRowsAsync and PivotGridControl.CollapseAllRowsAsync methods, respectively (or the PivotGridControl.ExpandAllRows and PivotGridControl.CollapseAllRows methods to do this synchronously).

See Also