TabletDevice Classe

Definição

Representa o dispositivo digitalizador de um Tablet PC.

public ref class TabletDevice sealed : System::Windows::Input::InputDevice
public sealed class TabletDevice : System.Windows.Input.InputDevice
type TabletDevice = class
    inherit InputDevice
Public NotInheritable Class TabletDevice
Inherits InputDevice
Herança

Exemplos

O exemplo a seguir demonstra como obter as propriedades compatíveis TabletDevice .

TabletDevice currentTablet = Tablet.CurrentTabletDevice;
ReadOnlyCollection<StylusPointProperty> supportedProperties = 
    currentTablet.SupportedStylusPointProperties;

StringWriter properties = new StringWriter();

foreach (StylusPointProperty property in supportedProperties)
{
    properties.WriteLine(property.ToString());
}

MessageBox.Show(properties.ToString());
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())

Propriedades

Nome Description
ActiveSource

Obtém o que relata a PresentationSource entrada atual para o dispositivo tablet.

Dispatcher

Obtém o Dispatcher que DispatcherObject está associado.

(Herdado de DispatcherObject)
Id

Obtém o identificador exclusivo para o dispositivo tablet no sistema.

Name

Obtém o nome do dispositivo tablet.

ProductId

Obtém o identificador do produto para o dispositivo tablet.

StylusDevices

Obtém o StylusDeviceCollection associado ao dispositivo tablet.

SupportedStylusPointProperties

Obtém uma coleção de StylusPointProperty objetos compatíveis TabletDevice .

TabletHardwareCapabilities

Obtém o TabletHardwareCapabilities dispositivo para tablet.

Target

Obtém o que fornece processamento IInputElement de entrada básico para o dispositivo tablet.

Type

Obtém o TabletDeviceType dispositivo tablet.

Métodos

Nome Description
CheckAccess()

Determina se o thread de chamada tem acesso a isso DispatcherObject.

(Herdado de DispatcherObject)
Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.

(Herdado de Object)
GetHashCode()

Serve como a função hash predefinida.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Objectatual.

(Herdado de Object)
ToString()

Retorna o nome do dispositivo tablet.

VerifyAccess()

Impõe que o thread de chamada tenha acesso a isso DispatcherObject.

(Herdado de DispatcherObject)

Aplica-se a