Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentManager.ForceInitialize() Method

In This Article

Forces the control to finish its initialization.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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