TabletDevice クラス

定義

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
継承

次の例では、 がサポートするプロパティを取得する方法を 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

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

TabletHardwareCapabilities

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

Target

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

Type

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

メソッド

CheckAccess()

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

(継承元 DispatcherObject)
Equals(Object)

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

(継承元 Object)
GetHashCode()

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

(継承元 Object)
GetType()

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

(継承元 Object)
MemberwiseClone()

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

(継承元 Object)
ToString()

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

VerifyAccess()

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

(継承元 DispatcherObject)

適用対象