Aracılığıyla paylaş


TabletDevice.StylusDevices Özellik

Tanım

StylusDeviceCollection Tablet cihazıyla ilişkilendirileni alır.

public:
 property System::Windows::Input::StylusDeviceCollection ^ StylusDevices { System::Windows::Input::StylusDeviceCollection ^ get(); };
public System.Windows.Input.StylusDeviceCollection StylusDevices { get; }
member this.StylusDevices : System.Windows.Input.StylusDeviceCollection
Public ReadOnly Property StylusDevices As StylusDeviceCollection

Özellik Değeri

StylusDeviceCollection Tablet cihazıyla ilişkili.

Örnekler

Aşağıdaki kod örneği özelliğini gösterir StylusDevices .

// Get the StylusDevice objects.
StylusDeviceCollection myStylusDeviceCollection = myTabletDevice.StylusDevices;

// Get the names of all of the of StylusDevice objects.
string[] myStylusDeviceNames = new string[myStylusDeviceCollection.Count];

for (int i = 0; i < myStylusDeviceCollection.Count; i++)
{
    myStylusDeviceNames[i] = myStylusDeviceCollection[i].Name;
}
' Get the StylusDevice objects.
Dim myStylusDeviceCollection As StylusDeviceCollection = myTabletDevice.StylusDevices

' Get the names of all of the of StylusDevice objects.
Dim myStylusDeviceNames() As String = New String(myStylusDeviceCollection.Count) {}


For i As Integer = 0 To myStylusDeviceCollection.Count - 1
    myStylusDeviceNames(i) = myStylusDeviceCollection(i).Name
Next

Şunlara uygulanır