Back to Devexpress

PivotGridField.ExpandValueAsync(Object) Method

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

latest2.4 KB
Original Source

PivotGridField.ExpandValueAsync(Object) Method

Expands 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> ExpandValueAsync(
    object value
)
vb
Public Function ExpandValueAsync(
    value As Object
) As Task(Of Boolean)

Parameters

NameTypeDescription
valueObject

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

|

Returns

TypeDescription
Task<Boolean>

An asynchronous operation that returns true in case of success.

|

Remarks

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