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

QueryShowPopupMenuEventArgs.BreakShowPopupMenu Property

Gets or sets whether or not the parent BarManager.QueryShowPopupMenu event should affect only the BarManager itself.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(true)]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool BreakShowPopupMenu { get; set; }

#Property Value

Type Default Description
Boolean true

true if the parent BarManager.QueryShowPopupMenu event should affect only the BarManager itself; otherwise, false.

#Remarks

By default, the Bar Manager component manages all popup menus within the application. For this reason, if you handle the BarManager.QueryShowPopupMenu event and set its e.Cancel property to true, not only popup menus for the Bar Manager itself will be disabled, but other controls from the same form (user control) will be unable to process their MouseClick/MouseUp events and show their own menus. Setting the BreakShowPopupMenu property to true allows you to use the Cancel property more safely without affecting components other than the Bar Manager.

See Also