Back to Devexpress

IModelAsync.UseAsyncLoading Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelasync.md

latest1.9 KB
Original Source

IModelAsync.UseAsyncLoading Property

Specifies whether an XPO-based WinForms application loads a View’s data asynchronously.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(false)]
[ModelBrowsable(typeof(UseAsyncLoadingVisibilityCalculator))]
bool UseAsyncLoading { get; set; }
vb
<DefaultValue(False)>
<ModelBrowsable(GetType(UseAsyncLoadingVisibilityCalculator))>
Property UseAsyncLoading As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , if an application loads a View’s data asynchronously; otherwise, false.

|

Remarks

You can specify this property for a List View, Detail View, or for all Views in your WinForms application. When this feature is active, the UI continues responding to user actions while data is being retrieved. For example, you can navigate to another View or close a current tab to cancel its View loading.

Refer to the Asynchronous Data Loading topic for more information.

See Also

IModelAsync Interface

IModelAsync Members

DevExpress.ExpressApp.Model Namespace