7 writes to StylusDevice
PresentationCore (7)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1353StylusDevice = stylusDevice.StylusDevice,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
856StylusDevice = StylusDevice,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
228coalescedMove.StylusDevice = stylusDevice.StylusDevice; 269inputReport.StylusDevice = FindStylusDeviceWithLock(inputReport.StylusDeviceId)?.StylusDevice; 906stylusInputReport.StylusDevice = stylusDevice.StylusDevice; // update stylusdevice. 2807inputReport.StylusDevice = stylusDevice;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
256StylusDevice = _currentStylusDevice.StylusDevice,
41 references to StylusDevice
PresentationCore (41)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
190PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>(); 323SystemGesture? gesture = rsir.StylusDevice.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir); 373PointerStylusDevice stylusDevice = report.StylusDevice.As<PointerStylusDevice>(); 1004if (routedEvent != null && report.StylusDevice != null) 1012args = new StylusDownEventArgs(report.StylusDevice, report.Timestamp); 1016args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1022args = new StylusSystemGestureEventArgs(report.StylusDevice, 1047StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1339PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
153PointerStylusDevice stylusDevice = inputReport.StylusDevice.As<PointerStylusDevice>(); 262UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 295transformTabletToView.Children.Add(rawStylusInputReport.StylusDevice.As<PointerStylusDevice>().GetTabletToElementTransform(null)); // this gives matrix in measured units (not device) 304PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>(); 362rawStylusInputReport.StylusDevice.As<PointerStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true); 447PointerStylusDevice stylusDevice = inputReport.StylusDevice.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\PenContexts.cs (3)
433WispStylusDevice stylusDevice = inputReport.StylusDevice.As<WispStylusDevice>(); 489System.Diagnostics.Debug.Assert(!inputReport.StylusDevice.CheckAccess()); 491WispStylusDevice stylusDevice = inputReport.StylusDevice.As<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (23)
163StylusDeviceBase stylusDevice = inputReport?.StylusDevice?.StylusDeviceImpl; 296if (report.StylusDevice != null) 298var tablet = report.StylusDevice.TabletDevice.As<WispTabletDevice>(); 329tabletDevice = rawStylusInputReport?.StylusDevice?.TabletDevice?.As<WispTabletDevice>(); 341&& rawStylusInputReport.StylusDevice != null 342&& rawStylusInputReport.StylusDevice.IsValid) 888WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.As<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id. 994WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice?.As<WispStylusDevice>(); 1183WispStylusDevice stylusDevice = report.StylusDevice.As<WispStylusDevice>(); 1374if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.As<WispStylusDevice>().IgnoreStroke) 1381args = new StylusDownEventArgs(report.StylusDevice, report.Timestamp); 1385args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1391args = new StylusSystemGestureEventArgs(report.StylusDevice, 1414StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 2491WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<WispStylusDevice>(); 2570StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2633if (inputReport.StylusDevice != null) 2658UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 2682WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<WispStylusDevice>(); 2758rawStylusInputReport.StylusDevice.As<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true); 2793StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2883StylusDevice stylusDevice = report.StylusDevice;