'Declaration
Public Event StylusEnter As System.Windows.Input.StylusEventHandler
'Usage
Dim instance As SheetTab Dim handler As System.Windows.Input.StylusEventHandler AddHandler instance.StylusEnter, handler
public event System.Windows.Input.StylusEventHandler StylusEnter
public event StylusEnter: System.Windows.Input.StylusEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.StylusEventHandler* StylusEnter
public: event System.Windows.Input.StylusEventHandler^ StylusEnter
The event handler receives an argument of type System.Windows.Input.StylusEventArgs containing data related to this event. The following StylusEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
InAir | Gets a value that indicates whether the stylus is in proximity to, but not touching, the digitizer. |
Inverted | Gets a value that indicates whether the stylus in inverted. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
StylusDevice | Gets the System.Windows.Input.StylusDevice that represents the stylus. |
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