Skip to main content

PivotGridControl.UseAsyncMode Property

Gets or sets whether data-aware operations caused by end-user actions are performed asynchronously. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool UseAsyncMode { get; set; }

Property Value

Type Description
Boolean

true to perform operations caused by end-user actions asynchronously; otherwise, false.

Remarks

Asynchronous operations are executed in a background thread. The primary UI thread is not blocked, allowing the application to continue responding to end-user actions.

If the UseAsyncMode property is set to true, data-aware operations (calculating summaries, retrieving data, sorting and filtering, etc.) caused by end-user actions are performed asynchronously. Otherwise, they are executed in the primary thread, and may block the entire application until completed.

You can call both synchronous and asynchronous operations from code, regardless of the UseAsyncMode property value.

For more information about the asynchronous mode, see Asynchronous Mode.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseAsyncMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also