DockManager.ForceInitialize() Method

Forces the dock manager to finish its initialization.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public virtual void ForceInitialize()
Public Overridable Sub 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 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.

See Also