MouseEventArgs.StylusDevice Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the stylus device associated with this event.
public:
property System::Windows::Input::StylusDevice ^ StylusDevice { System::Windows::Input::StylusDevice ^ get(); };
public System.Windows.Input.StylusDevice StylusDevice { get; }
member this.StylusDevice : System.Windows.Input.StylusDevice
Public ReadOnly Property StylusDevice As StylusDevice
Property Value
The stylus associated with this event. There is no default value.
Examples
The following example shows how to retrieve the StylusDevice associated with an event.
StylusDevice stylusDevice = e.StylusDevice;
Dim stylusDevice As StylusDevice = e.StylusDevice
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.