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

注解

当前平板电脑设备是最近将数据包传送到系统的设备。

适用于