Skip to main content

SchedulerOptionsBehavior.UseAsyncMode Property

Gets or sets whether the SchedulerControl performs layout calculations on multiple threads.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v25.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

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

Property Value

Type Default Description
Boolean true

true to enable asynchronous layout calculation to improve performance.; false to disable asynchronous mode.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseAsyncMode
SchedulerControl
.OptionsBehavior .UseAsyncMode

Remarks

SchedulerControl uses asynchronous mode to improve rendering speed and reduce UI blocking. The control calculates layout elements on separate threads and optimizes the use of the skin cache (this cache runs on a separate thread). If SchedulerControl is not fully initialized during layout calculation, this optimization may degrade performance.

To avoid performance-related issues, explicitly initialize SchedulerControl with BeginInit() and EndInit() methods:

this.scheduler = new SchedulerControl();
this.scheduler.BeginInit();

// Configure the Scheduler control.

this.scheduler.EndInit();
See Also