StylusButton.StylusDevice Özellik

Tanım

Bu düğmenin ait olduğu ekran kalemi alır.

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

Özellik Değeri

StylusDevice Geçerli StylusButtonekran kalemi temsil eden bir .

Örnekler

Aşağıdaki örnekte özelliği gösterilmektedir StylusDevice .

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

Şunlara uygulanır