Visual Basic (Declaration) | |
---|---|
Public Event MouseMove As MouseEventHandler |
C# | |
---|---|
public event MouseEventHandler MouseMove |
The event handler receives an argument of type MouseEventArgs containing data related to this event. The following MouseEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device (Inherited from System.Windows.Input.InputEventArgs) | |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
LeftButton | |
MiddleButton | |
MouseDevice | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
RightButton | |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
StylusDevice | |
Timestamp (Inherited from System.Windows.Input.InputEventArgs) | |
XButton1 | |
XButton2 |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family