BCGControlBar Library for .NET
BeforeShowPopupMenu Event




Occurs when the popup menu is about to be displayed.
Syntax
'Declaration
 
Public Event BeforeShowPopupMenu As ShowPopupMenuHandler
'Usage
 
Dim instance As CommandBarManager
Dim handler As ShowPopupMenuHandler
 
AddHandler instance.BeforeShowPopupMenu, handler
public event ShowPopupMenuHandler BeforeShowPopupMenu
public: __event ShowPopupMenuHandler* BeforeShowPopupMenu
public:
event ShowPopupMenuHandler^ BeforeShowPopupMenu
Event Data

The event handler receives an argument of type ShowPopupMenuEventArgs containing data related to this event. The following ShowPopupMenuEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
ParentButton Returns the parent menu button for a popup menu to show.
PopupBar Returns a popup menu bar to show.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandBarManager Class
CommandBarManager Members

Send Feedback