7 writes to StylusDevice
PresentationCore (7)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1336
StylusDevice
= stylusDevice.StylusDevice,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
848
StylusDevice
= StylusDevice,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
219
coalescedMove.
StylusDevice
= stylusDevice.StylusDevice;
260
inputReport.
StylusDevice
= FindStylusDeviceWithLock(inputReport.StylusDeviceId)?.StylusDevice;
897
stylusInputReport.
StylusDevice
= stylusDevice.StylusDevice; // update stylusdevice.
2798
inputReport.
StylusDevice
= stylusDevice;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
251
StylusDevice
= _currentStylusDevice.StylusDevice,
41 references to StylusDevice
PresentationCore (41)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
173
PointerStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<PointerStylusDevice>();
306
SystemGesture? gesture = rsir.
StylusDevice
.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir);
356
PointerStylusDevice stylusDevice = report.
StylusDevice
.As<PointerStylusDevice>();
987
if (routedEvent != null && report.
StylusDevice
!= null)
995
args = new StylusDownEventArgs(report.
StylusDevice
, report.Timestamp);
999
args = new StylusEventArgs(report.
StylusDevice
, report.Timestamp);
1005
args = new StylusSystemGestureEventArgs(report.
StylusDevice
,
1030
StylusDevice stylusDevice = eventArgsPreview.InputReport.
StylusDevice
;
1322
PointerStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
141
PointerStylusDevice stylusDevice = inputReport.
StylusDevice
.As<PointerStylusDevice>();
250
UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.
StylusDevice
.DirectlyOver as DependencyObject) as UIElement;
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 (3)
411
WispStylusDevice stylusDevice = inputReport.
StylusDevice
.As<WispStylusDevice>();
467
System.Diagnostics.Debug.Assert(!inputReport.
StylusDevice
.CheckAccess());
469
WispStylusDevice stylusDevice = inputReport.
StylusDevice
.As<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (23)
154
StylusDeviceBase stylusDevice = inputReport?.
StylusDevice
?.StylusDeviceImpl;
287
if (report.
StylusDevice
!= null)
289
var tablet = report.
StylusDevice
.TabletDevice.As<WispTabletDevice>();
320
tabletDevice = rawStylusInputReport?.
StylusDevice
?.TabletDevice?.As<WispTabletDevice>();
332
&& rawStylusInputReport.
StylusDevice
!= null
333
&& rawStylusInputReport.
StylusDevice
.IsValid)
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)
1372
args = new StylusDownEventArgs(report.
StylusDevice
, report.Timestamp);
1376
args = new StylusEventArgs(report.
StylusDevice
, report.Timestamp);
1382
args = new StylusSystemGestureEventArgs(report.
StylusDevice
,
1405
StylusDevice stylusDevice = eventArgsPreview.InputReport.
StylusDevice
;
2482
WispStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>();
2561
StylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
;
2624
if (inputReport.
StylusDevice
!= null)
2649
UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.
StylusDevice
.DirectlyOver as DependencyObject) as UIElement;
2673
WispStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>();
2749
rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
2784
StylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
;
2874
StylusDevice stylusDevice = report.
StylusDevice
;