StylusButton.StylusDevice Eigenschap

Definitie

Hiermee haalt u de stylus op waartoe deze knop behoort.

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

Waarde van eigenschap

Een StylusDevice die de stylus van de huidige StylusButtonvertegenwoordigt.

Voorbeelden

In het volgende voorbeeld ziet u de StylusDevice eigenschap.

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

Van toepassing op