SpreadsheetGear 2017
ContextMenuOpening Event (SheetTabScrollButton)






SpreadsheetGear.Windows.Controls Namespace > SheetTabScrollButton Class : ContextMenuOpening Event
Syntax
'Declaration
 
Public Event ContextMenuOpening As System.Windows.Controls.ContextMenuEventHandler
'Usage
 
Dim instance As SheetTabScrollButton
Dim handler As System.Windows.Controls.ContextMenuEventHandler
 
AddHandler instance.ContextMenuOpening, handler
public event System.Windows.Controls.ContextMenuEventHandler ContextMenuOpening
public event ContextMenuOpening: System.Windows.Controls.ContextMenuEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Controls.ContextMenuEventHandler* ContextMenuOpening
public:
event System.Windows.Controls.ContextMenuEventHandler^ ContextMenuOpening
Event Data

The event handler receives an argument of type System.Windows.Controls.ContextMenuEventArgs containing data related to this event. The following ContextMenuEventArgs properties provide information specific to this event.

PropertyDescription
Gets the horizontal position of the mouse.  
Gets the vertical position of the mouse.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
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