Back to Devexpress

PivotGridField.CollapseValueAsync(Object) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridfield-dot-collapsevalueasync-x28-system-dot-object-x29.md

latest2.5 KB
Original Source

PivotGridField.CollapseValueAsync(Object) Method

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public Task<bool> CollapseValueAsync(
    object value
)
vb
Public Function CollapseValueAsync(
    value As Object
) As Task(Of Boolean)

Parameters

NameTypeDescription
valueObject

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

|

Returns

TypeDescription
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

ExpandValue(Boolean, Object[])

CollapseValue(Boolean, Object[])

CollapseValueAsync

PivotGridField Class

PivotGridField Members

DevExpress.XtraPivotGrid Namespace