7 writes to StylusDevice
PresentationCore (7)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1336StylusDevice = stylusDevice.StylusDevice,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
848StylusDevice = StylusDevice,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
219coalescedMove.StylusDevice = stylusDevice.StylusDevice; 260inputReport.StylusDevice = FindStylusDeviceWithLock(inputReport.StylusDeviceId)?.StylusDevice; 897stylusInputReport.StylusDevice = stylusDevice.StylusDevice; // update stylusdevice. 2798inputReport.StylusDevice = stylusDevice;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
251StylusDevice = _currentStylusDevice.StylusDevice,
41 references to StylusDevice
PresentationCore (41)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (9)
173PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>(); 306SystemGesture? gesture = rsir.StylusDevice.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir); 356PointerStylusDevice stylusDevice = report.StylusDevice.As<PointerStylusDevice>(); 987if (routedEvent != null && report.StylusDevice != null) 995args = new StylusDownEventArgs(report.StylusDevice, report.Timestamp); 999args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1005args = new StylusSystemGestureEventArgs(report.StylusDevice, 1030StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1322PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
141PointerStylusDevice stylusDevice = inputReport.StylusDevice.As<PointerStylusDevice>(); 250UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 283transformTabletToView.Children.Add(rawStylusInputReport.StylusDevice.As<PointerStylusDevice>().GetTabletToElementTransform(null)); // this gives matrix in measured units (not device) 292PointerStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<PointerStylusDevice>(); 350rawStylusInputReport.StylusDevice.As<PointerStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true); 435PointerStylusDevice stylusDevice = inputReport.StylusDevice.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\PenContexts.cs (3)
411WispStylusDevice stylusDevice = inputReport.StylusDevice.As<WispStylusDevice>(); 467System.Diagnostics.Debug.Assert(!inputReport.StylusDevice.CheckAccess()); 469WispStylusDevice stylusDevice = inputReport.StylusDevice.As<WispStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (23)
154StylusDeviceBase stylusDevice = inputReport?.StylusDevice?.StylusDeviceImpl; 287if (report.StylusDevice != null) 289var tablet = report.StylusDevice.TabletDevice.As<WispTabletDevice>(); 320tabletDevice = rawStylusInputReport?.StylusDevice?.TabletDevice?.As<WispTabletDevice>(); 332&& rawStylusInputReport.StylusDevice != null 333&& rawStylusInputReport.StylusDevice.IsValid) 879WispStylusDevice stylusDevice = stylusInputReport?.StylusDevice?.As<WispStylusDevice>(); // RTI sets this if it finds StylusDevice based on Id. 985WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice?.As<WispStylusDevice>(); 1174WispStylusDevice stylusDevice = report.StylusDevice.As<WispStylusDevice>(); 1365if (routedEvent != null && report.StylusDevice != null && !report.StylusDevice.As<WispStylusDevice>().IgnoreStroke) 1372args = new StylusDownEventArgs(report.StylusDevice, report.Timestamp); 1376args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1382args = new StylusSystemGestureEventArgs(report.StylusDevice, 1405StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 2482WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<WispStylusDevice>(); 2561StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2624if (inputReport.StylusDevice != null) 2649UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 2673WispStylusDevice stylusDevice = rawStylusInputReport.StylusDevice.As<WispStylusDevice>(); 2749rawStylusInputReport.StylusDevice.As<WispStylusDevice>().UpdateEventStylusPoints(rawStylusInputReport, true); 2784StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2874StylusDevice stylusDevice = report.StylusDevice;