TabletDevice Class

 

Represents the digitizer device of a Tablet PC.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)


Public NotInheritable Class TabletDevice
	Inherits InputDevice

NameDescription
System_CAPS_pubpropertyActiveSource

Gets the PresentationSource that reports current input for the tablet device.(Overrides InputDevice.ActiveSource.)

System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyId

Gets the unique identifier for the tablet device on the system.

System_CAPS_pubpropertyName

Gets the name of the tablet device.

System_CAPS_pubpropertyProductId

Gets the product identifier for the tablet device.

System_CAPS_pubpropertyStylusDevices

Gets the StylusDeviceCollection associated with the tablet device.

System_CAPS_pubpropertySupportedStylusPointProperties

Gets a collection of StylusPointProperty objects that the TabletDevice supports.

System_CAPS_pubpropertyTabletHardwareCapabilities

Gets the TabletHardwareCapabilities for the tablet device.

System_CAPS_pubpropertyTarget

Gets the IInputElement that provides basic input processing for the tablet device.(Overrides InputDevice.Target.)

System_CAPS_pubpropertyType

Gets the TabletDeviceType of the tablet device.

NameDescription
System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the name of the tablet device.(Overrides Object.ToString().)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

The following example demonstrates how to get the properties that a TabletDevice supports.

Dim currentTablet As TabletDevice = Tablet.CurrentTabletDevice

Dim supportedProperties As ReadOnlyCollection(Of StylusPointProperty) _
            = currentTablet.SupportedStylusPointProperties

Dim properties As New StringWriter()

For Each supportedProperty As StylusPointProperty In supportedProperties
    properties.WriteLine(supportedProperty.ToString())
Next supportedProperty

MessageBox.Show(properties.ToString())

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: