Back to Devexpress

PivotGridControl.ExpandAllColumns() Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-dbac3814.md

latest3.0 KB
Original Source

PivotGridControl.ExpandAllColumns() Method

Expands all columns.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public void ExpandAllColumns()
vb
Public Sub ExpandAllColumns

Remarks

This method expands all columns that correspond to Column Fields. To expand all columns that correspond to a particular Column Field, use the PivotGridFieldBase.ExpandAll method. The PivotGridFieldBase.ExpandValue method allows you to expand individual columns.

To expand all columns asynchronously, use the PivotGridControl.ExpandAllColumnsAsync method.

To collapse all columns, use the PivotGridControl.CollapseAllColumnsAsync (asynchronous) or PivotGridControl.CollapseAllColumns (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

CollapseAllColumns()

ExpandAllRows()

PivotGridControl.ExpandAll

PivotGridFieldBase.ExpandAll

ExpandValue(Object)

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace