22 references to As
PresentationCore (22)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
173
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
356
PointerStylusDevice stylusDevice = report.StylusDevice.
As
<PointerStylusDevice>();
1267
PointerStylusDevice stylusDevice = stylusDownEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1304
PointerStylusDevice stylusDevice = stylusGestureEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1322
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (5)
141
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
283
transformTabletToView.Children.Add(rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().GetTabletToElementTransform(null)); // this gives matrix in measured units (not device)
292
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
350
rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
435
PointerStylusDevice stylusDevice = inputReport.StylusDevice.
As
<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
411
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
469
WispStylusDevice stylusDevice = inputReport.StylusDevice.
As
<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (10)
879
WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.
As
<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id.
985
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice?.
As
<WispStylusDevice>();
1174
WispStylusDevice stylusDevice = report.StylusDevice.
As
<WispStylusDevice>();
1365
if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.
As
<WispStylusDevice>().IgnoreStroke)
1721
WispStylusDevice stylusDevice = stylusArgs.StylusDevice.
As
<WispStylusDevice>();
2482
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2673
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2749
rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
3032
return stylusDevice?.
As
<WispStylusDevice>();
3042
return stylusDevice?.
As
<WispStylusDevice>();