ContextMenuOpening Event
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > K2SmartObjectPicker Class : ContextMenuOpening Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Event ContextMenuOpening As ContextMenuEventHandler
Visual Basic (Usage) Copy Code
Dim instance As K2SmartObjectPicker
Dim handler As ContextMenuEventHandler
 
AddHandler instance.ContextMenuOpening, handler
C#  
public event ContextMenuEventHandler ContextMenuOpening
C++/CLI  
public:
event ContextMenuEventHandler^ ContextMenuOpening

Event Data

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

Property Description
CursorLeft Gets the horizontal position of the mouse.
CursorTop Gets the vertical position of the mouse.
Handled (Inherited from System.Windows.RoutedEventArgs)  
OriginalSource (Inherited from System.Windows.RoutedEventArgs)  
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)  
Source (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