Tablet.CurrentTabletDevice Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.