'Declaration Public Event PreviewStylusButtonDown As StylusButtonEventHandler
public event StylusButtonEventHandler PreviewStylusButtonDown
Event Data
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 | Gets the input device that initiated this event. (Inherited from System.Windows.Input.InputEventArgs) |
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from System.Windows.RoutedEventArgs) |
InAir | Gets a value that indicates whether the stylus is in proximity to, but not touching, the digitizer. (Inherited from System.Windows.Input.StylusEventArgs) |
Inverted | Gets a value that indicates whether the stylus in inverted. (Inherited from System.Windows.Input.StylusEventArgs) |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. (Inherited from System.Windows.RoutedEventArgs) |
Source | Gets or sets a reference to the object that raised the event. (Inherited from System.Windows.RoutedEventArgs) |
StylusButton | Gets the System.Windows.Input.StylusButton that raises this event. |
StylusDevice | Gets the System.Windows.Input.StylusDevice that represents the stylus. (Inherited from System.Windows.Input.StylusEventArgs) |
Timestamp | Gets the time when this event occurred. (Inherited from System.Windows.Input.InputEventArgs) |
See Also