CompositeView.DelayedItemsInitialization Property
Indicates whether View Items controls of the CompositeView are initialized immediately when the View is created.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
To change this property value, override the OnActivated method of a ViewController descendant.
using DevExpress.ExpressApp;
namespace SolutionName.Module.Controllers {
public class DisablePerformanceOptimizationController : ViewController<DetailView> {
protected override void OnActivated() {
base.OnActivated();
View.DelayedItemsInitialization = false;
}
}
}
You can also change this setting globally for all Views using the XafApplication.DelayedViewItemsInitialization property.
See Also