This documentation is archived and is not being maintained.
StylusDeviceCollection Class
Visual Studio 2008
Contains the StylusDevice objects that represent a Tablet PC's stylus devices.
Assembly: PresentationCore (in PresentationCore.dll)
The following example demonstrates how to access the StylusDevice objects.
' 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
System.Object
System.Collections.ObjectModel.ReadOnlyCollection(Of StylusDevice)
System.Windows.Input.StylusDeviceCollection
System.Collections.ObjectModel.ReadOnlyCollection(Of StylusDevice)
System.Windows.Input.StylusDeviceCollection
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: