Skip to main content
All docs
V26.1
  • DetailView.UseAsyncLoading Field

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

    Namespace: DevExpress.ExpressApp

    Assembly: DevExpress.ExpressApp.v26.1.dll

    Declaration

    public static bool UseAsyncLoading

    Field Value

    Type Description
    Boolean

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

    Remarks

    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.

    The Template Kit enables the UseAsyncLoading property in new projects. For this purpose, the kit generates new projects with the FrameworkSettings.DefaultSettingsCompatibilityMode property set to Latest.

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

    Refer to the Asynchronous Data Loading topic for more information.

    See Also