Back to Devexpress

QueryShowPopupMenuEventArgs Class

windowsforms-devexpress-dot-xtrabars-1826800a.md

latest2.2 KB
Original Source

QueryShowPopupMenuEventArgs Class

Provides data for the BarManager.QueryShowPopupMenu event of the BarManager component.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class QueryShowPopupMenuEventArgs :
    CancelEventArgs
vb
Public Class QueryShowPopupMenuEventArgs
    Inherits CancelEventArgs

QueryShowPopupMenuEventArgs is the data class for the following events:

Remarks

The BarManager.QueryShowPopupMenu event occurs when a control popup menu is about to appear.

This event only occurs for the menu assigned to the PopupContextMenu property of a control. This property is automatically added to any control which has the same parent as the BarManager component.

The QueryShowPopupMenuEventArgs.Menu property contains the queried popup menu. The QueryShowPopupMenuEventArgs.Position property contains the position of the queried popup menu.

Inheritance

Object EventArgs CancelEventArgs QueryShowPopupMenuEventArgs

See Also

QueryShowPopupMenuEventArgs Members

DevExpress.XtraBars Namespace