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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.