Share via


StylusButton.StylusDevice Proprietà

Definizione

Ottiene lo stilo al quale questo pulsante appartiene.

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

Valore della proprietà

Oggetto StylusDevice che rappresenta lo stilo del controllo StylusButton corrente.

Esempio

Nell'esempio seguente viene illustrata la StylusDevice proprietà .

// 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)

Si applica a