Skip to main content
A newer version of this page is available. .

PivotGridOptionsBehaviorBase.UseAsyncMode Property

Gets or sets whether data-aware operations caused by end-user actions are performed asynchronously.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(false)]
public bool UseAsyncMode { get; set; }

Property Value

Type Default Description
Boolean **false**

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to UseAsyncMode
WinForms Controls PivotGridControl
.OptionsBehavior .UseAsyncMode
Reporting XRPivotGrid
.OptionsBehavior .UseAsyncMode
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsBehavior .UseAsyncMode
PivotGridSettings
.OptionsBehavior .UseAsyncMode
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsBehavior .UseAsyncMode

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.

See Also