BCGSoft.ControlBars Namespace > CommandBarManager Class : BeforeShowPopupMenu Event |
'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
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.
Property | Description |
---|---|
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. |
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