22 references to As
PresentationCore (22)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
190
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
373
PointerStylusDevice stylusDevice = report.StylusDevice.
As
<PointerStylusDevice>();
1284
PointerStylusDevice stylusDevice = stylusDownEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1321
PointerStylusDevice stylusDevice = stylusGestureEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1339
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (5)
153
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
295
transformTabletToView.Children.Add(rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().GetTabletToElementTransform(null)); // this gives matrix in measured units (not device)
304
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
362
rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
447
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
433
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
491
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (10)
888
WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.
As
<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id.
994
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice?.
As
<WispStylusDevice>();
1183
WispStylusDevice stylusDevice = report.StylusDevice.
As
<WispStylusDevice>();
1374
if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.
As
<WispStylusDevice>().IgnoreStroke)
1730
WispStylusDevice stylusDevice = stylusArgs.StylusDevice.
As
<WispStylusDevice>();
2491
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2682
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2758
rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
3041
return stylusDevice?.
As
<WispStylusDevice>();
3051
return stylusDevice?.
As
<WispStylusDevice>();