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

BaseView.ReleaseDeferredLoadControls() Method

Disposes all deferred load Documents within the current view.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public void ReleaseDeferredLoadControls()

Remarks

Deferred load Documents are Documents with no content within. When such a Document needs to be displayed, the BaseView.QueryControl event occurs. Handle this event to set the Document’s content. Otherwise, an exception is thrown as Documents can not be displayed without any content.

After a deferred load Document gets unselected, the BaseView.ControlReleasing event is raised. Unless this event was canceled (set the ControlReleasingEventArgs.Cancel property to true in order to do so), the Document is disposed and will re-load its content next time it will be activated. The ReleaseDeferredLoadControls method emulates this process and disposes all deferred load Documents within the current View. Use the BaseView.ReleaseDeferredLoadControl method instead to dispose a specific Document.

The ReleaseDeferredLoadControls member is a part of the Deferred Load feature. See this link to learn more.

See Also