22 references to As
PresentationCore (22)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
172
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
357
PointerStylusDevice stylusDevice = report.StylusDevice.
As
<PointerStylusDevice>();
1268
PointerStylusDevice stylusDevice = stylusDownEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1305
PointerStylusDevice stylusDevice = stylusGestureEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1323
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (5)
140
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
282
transformTabletToView.Children.Add(rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().GetTabletToElementTransform(null)); // this gives matrix in measured units (not device)
291
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
349
rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
434
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
410
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
468
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (10)
887
WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.
As
<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id.
993
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice?.
As
<WispStylusDevice>();
1182
WispStylusDevice stylusDevice = report.StylusDevice.
As
<WispStylusDevice>();
1375
if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.
As
<WispStylusDevice>().IgnoreStroke)
1731
WispStylusDevice stylusDevice = stylusArgs.StylusDevice.
As
<WispStylusDevice>();
2494
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2687
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2763
rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
3054
return stylusDevice?.
As
<WispStylusDevice>();
3064
return stylusDevice?.
As
<WispStylusDevice>();