'Declaration
Public Event PreviewStylusSystemGesture As System.Windows.Input.StylusSystemGestureEventHandler
'Usage
Dim instance As DropDownButton Dim handler As System.Windows.Input.StylusSystemGestureEventHandler AddHandler instance.PreviewStylusSystemGesture, handler
public event System.Windows.Input.StylusSystemGestureEventHandler PreviewStylusSystemGesture
public event PreviewStylusSystemGesture: System.Windows.Input.StylusSystemGestureEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.StylusSystemGestureEventHandler* PreviewStylusSystemGesture
public: event System.Windows.Input.StylusSystemGestureEventHandler^ PreviewStylusSystemGesture
The event handler receives an argument of type System.Windows.Input.StylusSystemGestureEventArgs containing data related to this event. The following StylusSystemGestureEventArgs 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) |
SystemGesture | Gets the System.Windows.Input.SystemGesture that raises the event. |
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