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.1.Core.dll

Declaration

[DefaultValue(false)]
public bool UseAsyncMode { get; set; }
<DefaultValue(False)>
Public Property UseAsyncMode As Boolean

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
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsBehavior.UseAsyncMode
MVCxPivotGrid
.OptionsBehavior.UseAsyncMode
PivotGridSettings
.OptionsBehavior.UseAsyncMode
Reporting XRPivotGrid
.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