共用方式為


Tablet.CurrentTabletDevice 屬性

定義

取得目前的 TabletDevice

public:
 static property System::Windows::Input::TabletDevice ^ CurrentTabletDevice { System::Windows::Input::TabletDevice ^ get(); };
public static System.Windows.Input.TabletDevice CurrentTabletDevice { get; }
static member CurrentTabletDevice : System.Windows.Input.TabletDevice
Public Shared ReadOnly Property CurrentTabletDevice As TabletDevice

屬性值

目前的 TabletDevice

範例

下列範例示範 TabletDevice 屬性。

// Get the current tablet device, if it exists
TabletDevice myCurrentTabletDevice = Tablet.CurrentTabletDevice;
' Get the current tablet device, if it exists
Dim myCurrentTabletDevice As TabletDevice = Tablet.CurrentTabletDevice

備註

目前的平板電腦裝置是最近將封包傳遞至系統的裝置。

適用於