DocumentManager.ForceInitialize() Method
Forces the control to finish its initialization.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void ForceInitialize()
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 DocumentManager 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 documents collection etc.
See Also