Back to Devexpress

BarManager.AllowShowToolbarsPopup Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-d30ff923.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AllowShowToolbarsPopup { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property AllowShowToolbarsPopup As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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:

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

ShowToolBarsPopup

HideToolBarsPopup()

ShowToolbarsContextMenu

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace