Επεξεργασία

Κοινή χρήση μέσω


Tablet.CurrentTabletDevice Property

Definition

Gets the current 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

Property Value

The current TabletDevice.

Examples

The following example demonstrates the TabletDevice property.

// 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

Remarks

The current tablet device is the device that most recently delivered packets to the system.

Applies to