Compartir a través de


TabletDevice.StylusDevices Propiedad

Definición

Obtiene la colección StylusDeviceCollection asociada al dispositivo de tableta gráfica.

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

Valor de propiedad

La colección StylusDeviceCollection asociada al dispositivo de tableta gráfica.

Ejemplos

En el ejemplo de código siguiente se muestra la StylusDevices propiedad .

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

Se aplica a