Skip to main content
All docs
V24.2

PivotGridField.ExpandAllAsync() Method

Expands all columns or rows of the specified Pivot Grid field asynchronously.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

public Task<bool> ExpandAllAsync()

Returns

Type Description
Task<Boolean>

An asynchronous operation that returns true in case of success.

Remarks

The ExpandAllAsync method is asynchronous. ExpandAllAsync starts to execute the related operation in a background thread, and returns the Pivot Grid control. The main UI thread remains unblocked to allow the application to continue responding to user actions. Refer to the following topic for more information: Asynchronous Mode.

To collapse or expand all columns and rows synchronously, use the PivotGridField.CollapseAll and PivotGridField.ExpandAll methods, respectively.

You can specify whether a user can expand or collapse field values in the UI. For this, use the PivotGridFieldOptions.AllowExpand property.

See Also