Skip to main content
A newer version of this page is available. .

RibbonControl.ForceInitialize() Method

Forces the Ribbon Control to finish its initialization.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

public virtual void ForceInitialize()

Remarks

You must call the ForceInitialize method before changing Ribbon options when a form is being loaded (for instance, when changing the control’s settings in the Form.Load event handler). After the Ribbon Control has been initialized, you can safely manipulate its settings.

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.

See Also