TabletDevice クラス

定義

タブレット 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
継承

次の例では、 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())

プロパティ

名前 説明
ActiveSource

タブレット デバイスの現在の入力を報告する PresentationSource を取得します。

Dispatcher

このDispatcherが関連付けられているDispatcherObjectを取得します。

(継承元 DispatcherObject)
Id

システム上のタブレット デバイスの一意識別子を取得します。

Name

タブレット デバイスの名前を取得します。

ProductId

タブレット デバイスの製品識別子を取得します。

StylusDevices

タブレット デバイスに関連付けられている StylusDeviceCollection を取得します。

SupportedStylusPointProperties

TabletDeviceがサポートするStylusPointProperty オブジェクトのコレクションを取得します。

TabletHardwareCapabilities

タブレット デバイスの TabletHardwareCapabilities を取得します。

Target

タブレット デバイスの基本的な入力処理を提供する IInputElement を取得します。

Type

タブレット デバイスの TabletDeviceType を取得します。

メソッド

名前 説明
CheckAccess()

呼び出し元のスレッドがこの DispatcherObjectにアクセスできるかどうかを判断します。

(継承元 DispatcherObject)
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

タブレット デバイスの名前を返します。

VerifyAccess()

呼び出し元のスレッドがこの DispatcherObjectにアクセスできるように強制します。

(継承元 DispatcherObject)

適用対象