BarManager.ShowToolBarsPopup() Method

Displays the customization menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public virtual void ShowToolBarsPopup()


This method invokes the customization menu at the position of the mouse cursor:

Customization Popup 2

This popup allows a user to choose which available toolbars are displayed. Each item in this popup represents a toolbar. When a specific toolbar is displayed, there is a check mark to the left of that toolbar’s caption within the popup.

XtraBars allows you to modify the customization menu before it is displayed by handling the BarManager.ShowToolbarsContextMenu event.

If the BarManager.AllowShowToolbarsPopup property is set to true, the end-user can open the menu by right-clicking on any bar.

To hide the customization menu via code, call the BarManager.HideToolBarsPopup method.

See Also