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

BarManager.ForceLinkCreate() Method

Forces the Bar Manager to create bar item links within the BarManager’s bars and menus.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public virtual void ForceLinkCreate()

Remarks

Call the ForceLinkCreate method if you need to access bar item links when the form is being loaded (for instance, in the Form.Load event handler).

This method forces the Bar Manager to finish initializing the component. In particular, it forces the links within the BarManager’s bars and menus to be created. You can then access the links safely.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ForceLinkCreate() 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