Επεξεργασία

Κοινή χρήση μέσω


MouseEventArgs.StylusDevice Property

Definition

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