SpreadsheetGear 2012
MouseMove Event (Spinner)






Syntax
'Declaration
 
Public Event MouseMove As System.Windows.Input.MouseEventHandler
'Usage
 
Dim instance As Spinner
Dim handler As System.Windows.Input.MouseEventHandler
 
AddHandler instance.MouseMove, handler
public event System.Windows.Input.MouseEventHandler MouseMove
public event MouseMove: System.Windows.Input.MouseEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.MouseEventHandler* MouseMove
public:
event System.Windows.Input.MouseEventHandler^ MouseMove
Event Data

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

PropertyDescription
Device (Inherited from System.Windows.Input.InputEventArgs)
Handled (Inherited from System.Windows.RoutedEventArgs)
LeftButtonGets the current state of the left mouse button.  
MiddleButtonGets the current state of the middle mouse button.  
MouseDeviceGets the mouse device associated with this event.  
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
RightButtonGets the current state of the right mouse button.  
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
StylusDeviceGets the stylus device associated with this event.  
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
XButton1Gets the current state of the first extended mouse button.  
XButton2Gets the state of the second extended mouse button.  
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

Spinner Class
Spinner Members

Send Feedback