.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.2.dll

Declaration

public bool EnableDelayedObjectLoading { get; set; }
Public Property EnableDelayedObjectLoading As Boolean
public bool EnableDelayedObjectLoading { get; set; }
Public Property EnableDelayedObjectLoading As Boolean
public bool EnableDelayedObjectLoading { get; set; }
Public Property EnableDelayedObjectLoading As Boolean

Property Value

Type Description
Boolean

true, if the delayed object loading is enabled for the particular Detail View; otherwise, false.

Property Value

Type Description
Boolean

true, if the delayed object loading is enabled for the particular Detail View; otherwise, false.

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.

See Also