StylusDevice Class
Represents a tablet pen used with a Tablet PC.
Assembly: PresentationCore (in PresentationCore.dll)
System.Windows.Threading::DispatcherObject
System.Windows.Input::InputDevice
System.Windows.Input::StylusDevice
| Name | Description | |
|---|---|---|
![]() | ActiveSource | Gets the PresentationSource that reports current input for the stylus.(Overrides InputDevice::ActiveSource.) |
![]() | Captured | Gets the element that captured the stylus. |
![]() | DirectlyOver | Gets the IInputElement that the pointer is positioned over. |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | Id | Gets the identifier for the stylus device. |
![]() | InAir | Gets whether the tablet pen is positioned above, yet not in contact with, the digitizer. |
![]() | InRange | Gets a value that indicates whether the tablet pen is in range of the digitizer. |
![]() | Inverted | Gets a value that indicates whether the secondary tip of the stylus is in use. |
![]() | IsValid | Gets a value that indicates whether a stylus device is valid. |
![]() | Name | Gets the name of the stylus. |
![]() | StylusButtons | Gets the stylus buttons on the stylus. |
![]() | TabletDevice | Gets the TabletDevice representing the digitizer associated with the current StylusDevice. |
![]() | Target | Gets the element that receives input.(Overrides InputDevice::Target.) |
| Name | Description | |
|---|---|---|
![]() | Capture(IInputElement^) | Binds input from the stylus to the specified element. |
![]() | Capture(IInputElement^, CaptureMode) | Binds the stylus to the specified element. |
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPosition(IInputElement^) | Gets the position of the stylus. |
![]() | GetStylusPoints(IInputElement^) | Returns a StylusPointCollection that contains StylusPoint objects collected from the stylus. |
![]() | GetStylusPoints(IInputElement^, StylusPointDescription^) | Returns a StylusPointCollection that contains StylusPoint objects collected from the stylus. Uses the specified StylusPointDescription. |
![]() | GetType() | |
![]() | Synchronize() | Synchronizes the cursor and the user interface. |
![]() | ToString() | Returns the name of the stylus device.(Overrides Object::ToString().) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

