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

BarManager.CloseMenus() Method

Closes all dropdown and popup windows that belong to this BarManager.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public virtual void CloseMenus()

Remarks

This method closes all sub-menus, popup menus and Dropdown controls (including dropdown windows of editors) that belong to this BarManager. When editor dropdowns are closed by calling the CloseMenus method, changes applied to the edited value are not saved.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CloseMenus() 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