16 references to As
PresentationCore (16)
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
211
PenContext newContext = _stylusLogic.TabletDevices[(int)index].
As
<WispTabletDevice>().CreateContext(_inputSource.Handle, this);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (9)
289
var tablet = report.StylusDevice.TabletDevice.
As
<WispTabletDevice>();
320
tabletDevice = rawStylusInputReport?.StylusDevice?.TabletDevice?.
As
<WispTabletDevice>();
941
WispTabletDevice tabletDevice = stylusDevice.TabletDevice?.
As
<WispTabletDevice>();
1066
WispTabletDevice tabletDevice = stylusDevice.TabletDevice.
As
<WispTabletDevice>();
1360
WispTabletDevice tabletDevice = stylusArgs?.StylusDeviceImpl?.TabletDevice.
As
<WispTabletDevice>();
2621
tablet.
As
<WispTabletDevice>().InvalidateSizeDeltas(); // Will be recalc'd on next stylus down.
3490
penThread = tabletDeviceCollection[0].
As
<WispTabletDevice>().PenThread;
3580
tablet.
As
<WispTabletDevice>()?.UpdateScreenMeasurements();
3598
return matrix * tabletDevice.
As
<TabletDeviceBase>().TabletToScreen;
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (6)
261
PenThread penThread = _tablets.Length > 0 ? _tablets[0].
As
<WispTabletDevice>().PenThread :
409
PenThread penThread = _tablets.Length > 0 ? _tablets[0].
As
<WispTabletDevice>().PenThread :
561
WispTabletDevice removeTablet = _tablets[index].
As
<WispTabletDevice>();
593
WispTabletDevice tablet = _tablets[iTablet].
As
<WispTabletDevice>();
666
ctxs[i++] = tablet.
As
<WispTabletDevice>().CreateContext(hwnd, contexts);
676
ctxs[i++] = tablet.
As
<WispTabletDevice>().CreateContext(hwnd, contexts);