Skip to main content
.NET Framework 4.5.2+

DetailView.UseAsyncLoading Field

Specifies whether the IModelAsync.UseAsyncLoading property is visible in the Model Editor.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public static bool UseAsyncLoading

Field Value

Type Description

true, if the IModelAsync.UseAsyncLoading property is visible in the Model Editor; otherwise, false.


When asynchronous data loading is enabled, only the current object of a Detail View is loaded asynchronously, its associated collections are loaded in the main thread and this locks the UI. Enable this feature only if current object loading causes performance issues because of complex logic or a remote database.

The following example shows how to specify this static field to show the UseAsyncLoading property in the Model Editor.

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Win;
// ...
public partial class MySolutionWindowsFormsApplication : WinApplication {
    // ...
    public MySolutionWindowsFormsApplication() {
        DetailView.UseAsyncLoading = true;
        // ...

If DetailView.UseAsyncLoading is set to true, note the following:

Refer to the Asynchronous Data Loading topic for more information.

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


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