NavigationFrame.ReleaseDeferredLoadControls(Boolean, Boolean) Method
Fires the ControlReleasing event for all pages owned by this Frame.
NuGet Package: DevExpress.Win.Navigation
You can create empty Navigation Frame pages. Upon selection, such pages fire the QueryControl event, which you should handle to assign content to these pages. This technique allows you to avoid loading the content of all pages at application start-up, and instead load page content when this page becomes active.
When users deselect a page whose content was assigned in the
QueryControl event, the Navigation Frame fires the ControlReleasing event. The goal of this event is to let you decide whether a deselected page should keep or destroy its content. The
ControlReleasing event has the following properties:
false, the page loses its content and needs to fire the
QueryControlevent again when it becomes active.
true, the released page content is destroyed and cannot be reassigned to pages on future
ReleaseDeferredLoadControls methods allow you to emulate the control releasing phase. These methods trigger the
ControlReleasing event with pre-set property values.