22 references to As
PresentationCore (22)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
173
PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<PointerStylusDevice>();
358
PointerStylusDevice stylusDevice = report.StylusDevice.
As
<PointerStylusDevice>();
1269
PointerStylusDevice stylusDevice = stylusDownEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1306
PointerStylusDevice stylusDevice = stylusGestureEventArgs.StylusDevice.
As
<PointerStylusDevice>();
1324
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)
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>();
1376
if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.
As
<WispStylusDevice>().IgnoreStroke)
1732
WispStylusDevice stylusDevice = stylusArgs.StylusDevice.
As
<WispStylusDevice>();
2495
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2688
WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>();
2764
rawStylusInputReport.StylusDevice.
As
<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
3055
return stylusDevice?.
As
<WispStylusDevice>();
3065
return stylusDevice?.
As
<WispStylusDevice>();