23 references to TabletDeviceType
PresentationCore (23)
System\Windows\Input\Stylus\Common\StylusTraceLogger.cs (1)
102
Size tabletSize, Size screenSize,
TabletDeviceType
deviceType, int maxContacts)
System\Windows\Input\Stylus\Common\TabletDevice.cs (1)
126
public
TabletDeviceType
Type
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (2)
51
if (_tabletInfo.DeviceType ==
TabletDeviceType
.Touch)
166
internal
TabletDeviceType
Type
System\Windows\Input\Stylus\Common\TabletDeviceInfo.cs (1)
39
public
TabletDeviceType
DeviceType;
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (1)
198
if (_stylusDevice.TabletDevice.Type !=
TabletDeviceType
.Stylus)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (2)
154
if (_stylusDevice.TabletDevice.Type ==
TabletDeviceType
.Stylus)
369
if (_stylusDevice.TabletDevice.Type ==
TabletDeviceType
.Stylus)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
969
return (stylusEventArgs?.StylusDevice?.TabletDevice?.Type ==
TabletDeviceType
.Touch &&
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (3)
112
if (tabletDevice.Type ==
TabletDeviceType
.Touch)
455
return _tabletDevice.Type ==
TabletDeviceType
.Stylus
811
if (PointerTabletDevice.Type ==
TabletDeviceType
.Touch)
System\Windows\Input\Stylus\Pointer\PointerTabletDevice.cs (2)
52
return _tabletInfo.DeviceType ==
TabletDeviceType
.Touch ?
64
return _tabletInfo.DeviceType ==
TabletDeviceType
.Touch ?
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (4)
118
DeviceType =
TabletDeviceType
.Stylus;
123
DeviceType =
TabletDeviceType
.Stylus;
129
DeviceType =
TabletDeviceType
.Touch;
135
DeviceType =
TabletDeviceType
.Touch;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (1)
870
tabletInfo.DeviceType = (
TabletDeviceType
)(deviceType -1);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1538
stylusDevice.TabletDevice.Type ==
TabletDeviceType
.Touch);
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (3)
281
if (tabletdevices[i].DeviceType == (
TabletDeviceType
)(-1))
428
if (tabletInfo.DeviceType == (
TabletDeviceType
)(-1))
540
Debug.Assert(tabletDevice.Type != (
TabletDeviceType
)(-1)); // make sure not the mouse tablet device!