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.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

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.

See Also