Back to Devexpress

DashboardDesigner.AsyncMode Property

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-75ac093a.md

latest3.1 KB
Original Source

DashboardDesigner.AsyncMode Property

Switches to asynchronous mode.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public bool AsyncMode { get; set; }
vb
Public Property AsyncMode As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

True , to use asynchronous mode; otherwise, false.

|

Remarks

Important

Do not switch modes before data loading is completed.

Asynchronous mode imposes certain restrictions on loading data from the object data source, accessing dashboard item data, and master filtering. Refer to the WinForms Dashboard Asynchronous Mode document for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AsyncMode 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.

winforms-dashboard-async-mode-designer-data-loading/CS/DashboardDesignerAsyncModeExample/Form1.cs#L13

csharp
InitializeComponent();
dashboardDesigner1.AsyncMode = true;
dashboardDesigner1.DataSourceOptions.ObjectDataSourceLoadingBehavior = DevExpress.DataAccess.DocumentLoadingBehavior.LoadAsIs;

winforms-dashboard-async-mode-designer-data-loading/VB/DashboardDesignerAsyncModeExample/Form1.vb#L12

vb
InitializeComponent()
dashboardDesigner1.AsyncMode = True
dashboardDesigner1.DataSourceOptions.ObjectDataSourceLoadingBehavior = DevExpress.DataAccess.DocumentLoadingBehavior.LoadAsIs

Implements

AsyncMode

See Also

Asynchronous Mode

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace