Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AllowShowToolbarsPopup { get; set; }

#Property Value

Type Default Description
Boolean true

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

#Remarks

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