BarManager.AllowShowToolbarsPopup Property

Gets or sets a value indicating whether bars belonging to the Bar Manager allow the customization menu to be displayed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public bool AllowShowToolbarsPopup { get; set; }

Property Value

Type Default Description


true if the BarManager customization menu can be displayed; otherwise, false;


The customization menu provides facilities for customizing bars at runtime. The menu displays all the bars for which the BarOptions.Hidden option is set to false. If the BarManager.AllowCustomization property is set to true, the menu also contains the Customize… item. You can select this item to open the Customization Window.

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

Customization Popup 2

To open the menu in code, call the BarManager.ShowToolBarsPopup method. XtraBars allows you to modify the customization menu before it is displayed by handling the BarManager.ShowToolbarsContextMenu event.

See Also