7 writes to StylusDevice
PresentationCore (7)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1353
StylusDevice
= stylusDevice.StylusDevice,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
856
StylusDevice
= StylusDevice,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
228
coalescedMove.
StylusDevice
= stylusDevice.StylusDevice;
269
inputReport.
StylusDevice
= FindStylusDeviceWithLock(inputReport.StylusDeviceId)?.StylusDevice;
906
stylusInputReport.
StylusDevice
= stylusDevice.StylusDevice; // update stylusdevice.
2807
inputReport.
StylusDevice
= stylusDevice;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
256
StylusDevice
= _currentStylusDevice.StylusDevice,
41 references to StylusDevice
PresentationCore (41)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
190
PointerStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<PointerStylusDevice>();
323
SystemGesture? gesture = rsir.
StylusDevice
.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir);
373
PointerStylusDevice stylusDevice = report.
StylusDevice
.As<PointerStylusDevice>();
1004
if (routedEvent != null && report.
StylusDevice
!= null)
1012
args = new StylusDownEventArgs(report.
StylusDevice
, report.Timestamp);
1016
args = new StylusEventArgs(report.
StylusDevice
, report.Timestamp);
1022
args = new StylusSystemGestureEventArgs(report.
StylusDevice
,
1047
StylusDevice stylusDevice = eventArgsPreview.InputReport.
StylusDevice
;
1339
PointerStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
153
PointerStylusDevice stylusDevice = inputReport.
StylusDevice
.As<PointerStylusDevice>();
262
UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.
StylusDevice
.DirectlyOver as DependencyObject) as UIElement;
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 (3)
433
WispStylusDevice stylusDevice = inputReport.
StylusDevice
.As<WispStylusDevice>();
489
System.Diagnostics.Debug.Assert(!inputReport.
StylusDevice
.CheckAccess());
491
WispStylusDevice stylusDevice = inputReport.
StylusDevice
.As<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (23)
163
StylusDeviceBase stylusDevice = inputReport?.
StylusDevice
?.StylusDeviceImpl;
296
if (report.
StylusDevice
!= null)
298
var tablet = report.
StylusDevice
.TabletDevice.As<WispTabletDevice>();
329
tabletDevice = rawStylusInputReport?.
StylusDevice
?.TabletDevice?.As<WispTabletDevice>();
341
&& rawStylusInputReport.
StylusDevice
!= null
342
&& rawStylusInputReport.
StylusDevice
.IsValid)
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)
1381
args = new StylusDownEventArgs(report.
StylusDevice
, report.Timestamp);
1385
args = new StylusEventArgs(report.
StylusDevice
, report.Timestamp);
1391
args = new StylusSystemGestureEventArgs(report.
StylusDevice
,
1414
StylusDevice stylusDevice = eventArgsPreview.InputReport.
StylusDevice
;
2491
WispStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>();
2570
StylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
;
2633
if (inputReport.
StylusDevice
!= null)
2658
UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.
StylusDevice
.DirectlyOver as DependencyObject) as UIElement;
2682
WispStylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>();
2758
rawStylusInputReport.
StylusDevice
.As<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true);
2793
StylusDevice stylusDevice = rawStylusInputReport.
StylusDevice
;
2883
StylusDevice stylusDevice = report.
StylusDevice
;