Share via


StylusButton.StylusDevice Propriété

Définition

Obtient le stylet auquel ce bouton appartient.

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

Valeur de propriété

Un StylusDevice qui représente le stylet du StylusButtonen cours.

Exemples

L’exemple suivant illustre la StylusDevice propriété .

// Get the name of the StylusDevice to which the StylusButton is attached
textbox1.AppendText("StylusButton.StylusDevice: " + myStylusButton.StylusDevice.Name + "\n");
' Get the name of the StylusDevice to which the StylusButton is attached
textbox1.AppendText("StylusButton.StylusDevice: " + myStylusButton.StylusDevice.Name + vbCrLf)

S’applique à