The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TabletDeviceType Enumeration
.NET Framework (current version)
Defines values for the type of devices the tablet device uses.
Assembly: PresentationCore (in PresentationCore.dll)
| Member name | Description | |
|---|---|---|
| Stylus | Indicates the tablet device is a stylus. | |
| Touch | Indicates the tablet device is a touch screen. |
The following example demonstrates how to determine the type of tablet device.
' Get the type of tablet device Dim myTabletDeviceType As TabletDeviceType = myTabletDevice.Type ' Display the type of tablet device textbox1.AppendText("Type: ") Select Case myTabletDeviceType Case TabletDeviceType.Stylus textbox1.AppendText("Stylus" & vbCrLf) Case Else ' TabletDeviceType.Touch textbox1.AppendText("Touch pad" & vbCrLf) End Select
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Show: