Visual Basic (Declaration) | |
---|---|
Public Event PreviewStylusButtonDown As StylusButtonEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As K2SmartObjectPicker Dim handler As StylusButtonEventHandler AddHandler instance.PreviewStylusButtonDown, handler |
C# | |
---|---|
public event StylusButtonEventHandler PreviewStylusButtonDown |
C++/CLI | |
---|---|
public: event StylusButtonEventHandler^ PreviewStylusButtonDown |
The event handler receives an argument of type StylusButtonEventArgs containing data related to this event. The following StylusButtonEventArgs 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) | |
StylusButton | Gets the System.Windows.Input.StylusButton that raises this event. |
StylusDevice (Inherited from System.Windows.Input.StylusEventArgs) | |
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