Skip to main content
A newer version of this page is available. .
Bar

QueryShowPopupMenuEventArgs Class

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

public class QueryShowPopupMenuEventArgs :
    CancelEventArgs

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the QueryShowPopupMenuEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CancelEventArgs
QueryShowPopupMenuEventArgs
See Also