This documentation is archived and is not being maintained.
StylusDevice Class
Visual Studio 2010
Represents a tablet pen used with a Tablet PC.
System::Object
System.Windows.Threading::DispatcherObject
System.Windows.Input::InputDevice
System.Windows.Input::StylusDevice
System.Windows.Threading::DispatcherObject
System.Windows.Input::InputDevice
System.Windows.Input::StylusDevice
Assembly: PresentationCore (in PresentationCore.dll)
The StylusDevice type exposes the following members.
| 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. |
![]() | 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPosition | 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 | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | 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.) |
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
