Skip to main content
All docs
V23.2

PivotGridField.CollapseValueAsync(Object) Method

Collapses the specified column or row of the Pivot Grid field asynchronously.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public Task<bool> CollapseValueAsync(
    object value
)

Parameters

Name Type Description
value Object

An array of field values that identify the column/row to be collapsed.

Returns

Type Description
Task<Boolean>

An asynchronous operation that returns true in case of success.

Remarks

The CollapseValueAsync method is asynchronous. CollapseValueAsync 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.

See Also