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

注解

当前平板电脑设备是最近向系统传递数据包的设备。

适用于