DetailViewCreatingEventArgs.EnableDelayedObjectLoading Property
Specifies whether or not delayed object loading is enabled for the particular Detail View created using the ListViewProcessCurrentObjectController.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the delayed object loading is enabled for the particular Detail View; otherwise, false. |
Remarks
When the XafApplication.IsDelayedDetailViewDataLoadingEnabled property is set to true, delayed object loading is enabled for all Detail Views in your WinForms application. To disable it for the particular Detail View, set the EnableDelayedObjectLoading property to false.
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.