DockManager.ForceInitialize() Method
Forces the dock manager to finish its initialization.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Remarks
A typical scenario for using this method is applying certain modifications to the control (e.g. changing the layout or any other operation that requires the DockManager to be initialized) within the form constructor, when there is a chance that the control is not fully initialized yet. In this case, call the ForceInitialize method to make sure the control’s initialization is complete. Afterwards, you can safely perform layout changes, access and modify dock panel collections etc.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForceInitialize() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.