Visual Basic (Declaration) | |
---|---|
Public Event PreviewStylusDown As StylusDownEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ModalDialog Dim handler As StylusDownEventHandler AddHandler instance.PreviewStylusDown, handler |
C# | |
---|---|
public event StylusDownEventHandler PreviewStylusDown |
C++/CLI | |
---|---|
public: event StylusDownEventHandler^ PreviewStylusDown |
The event handler receives an argument of type StylusDownEventArgs containing data related to this event. The following StylusDownEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device (Inherited from System.Windows.Input.InputEventArgs) | |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
InAir (Inherited from System.Windows.Input.StylusEventArgs) | |
Inverted (Inherited from System.Windows.Input.StylusEventArgs) | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
StylusDevice (Inherited from System.Windows.Input.StylusEventArgs) | |
TapCount | Gets the number of times the tablet pen was tapped. |
Timestamp (Inherited from System.Windows.Input.InputEventArgs) |
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