Skip to main content
A newer version of this page is available. .

WinApplication.IsDelayedDetailViewDataLoadingEnabled Property

Specifies if the delayed data loading for detail forms is enabled in WinForms applications. Derives its value from XafApplication.IsDelayedDetailViewDataLoadingEnabled.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v18.2.dll

Declaration

[DefaultValue(true)]
public override bool IsDelayedDetailViewDataLoadingEnabled { get; set; }

Property Value

Type Default Description
Boolean **true**

true, when the delayed loading is enabled; otherwise, false. The default is false.

Remarks

Delayed data loading for detail forms is enabled in WinForms applications when the IsDelayedDetailViewDataLoadingEnabled property is set to true. When enabled, the Detail View with empty editors is immediately opened, and then data is asynchronously loaded and displayed. To see a demonstration of this feature, refer to the Performance | Delayed Data Loading in Detail Views section in the Feature Center Demo (WinForms). By default, this demo is installed at %PUBLIC%\Documents\DevExpress Demos 18.2\Components\eXpressApp Framework\FeatureCenter.

In InstantFeedback and DataView modes XAF retrieves only data about objects, but does not get real objects. If the EnableDelayedObjectLoading property is set to true and the user double-clicks such an object in a List View, XAF creates a Detail View before the object and its type are loaded, so this Detail View uses the current List View’s objects collection’s type.

Note

  • Delayed data loading is supported only for objects with a Key Property.
  • When delayed data loading is enabled, the DetailView.CurrentObject property is null on Controller activation. You should update your custom Controllers in order to avoid a NullReferenceException.
See Also