Spread WPF Documentation
ContextMenuOpening Event (DropDownItemControl)


Syntax
'Declaration
 
Public Event ContextMenuOpening As System.Windows.Controls.ContextMenuEventHandler
'Usage
 
Dim instance As DropDownItemControl
Dim handler As System.Windows.Controls.ContextMenuEventHandler
 
AddHandler instance.ContextMenuOpening, handler
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
CursorLeftGets the horizontal position of the mouse.  
CursorTopGets 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 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

DropDownItemControl Class
DropDownItemControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.