DocumentManager.ForceInitialize() Method

Forces the control to finish its initialization.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public void ForceInitialize()
<Browsable(False)>
Public 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 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