1 write to StylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
50StylusDevice = new StylusDevice(this);
32 references to StylusDevice
PresentationCore (32)
System\Windows\Input\MouseDevice.cs (1)
1210inputDevice = tablets.GetStylusDeviceByCursorId(cursorId)?.StylusDevice;
System\Windows\Input\Stylus\Common\Stylus.cs (1)
799return StylusLogic.CurrentStylusLogic?.CurrentStylusDevice?.StylusDevice;
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
84return _stylusDevice.StylusDevice;
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (2)
27Items.Add(stylusDevice.StylusDevice); 41base.Items.Insert(index, stylusDevice.StylusDevice); // add it to our list.
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
187_inputManager.MostRecentInputDevice = stylusDevice.StylusDevice; 266InputReportEventArgs args = new InputReportEventArgs(CurrentStylusDevice.StylusDevice, cancelCaptureInputReport); 1336StylusDevice = stylusDevice.StylusDevice, 1339InputReportEventArgs input = new InputReportEventArgs(stylusDevice.StylusDevice, inputReport);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
656InputReportEventArgs inputReportEventArgs = new InputReportEventArgs(StylusDevice, report); 848StylusDevice = StylusDevice, 868InputReportEventArgs irea = new InputReportEventArgs(StylusDevice, report) 1047StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 1054StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (10)
219coalescedMove.StylusDevice = stylusDevice.StylusDevice; 260inputReport.StylusDevice = FindStylusDeviceWithLock(inputReport.StylusDeviceId)?.StylusDevice; 568InputReportEventArgs args = new InputReportEventArgs(CurrentStylusDevice.StylusDevice, cancelCaptureInputReport); 614InputReportEventArgs args = new InputReportEventArgs(activateStylusDevice.StylusDevice, activateInputReport); 897stylusInputReport.StylusDevice = stylusDevice.StylusDevice; // update stylusdevice. 961input.Device = stylusDevice.StylusDevice; 1036_inputManager.MostRecentInputDevice = stylusDevice.StylusDevice; 1292InputReportEventArgs actionsArgs = new InputReportEventArgs(stylusDevice.StylusDevice, newMouseInputReport); 1760InputReportEventArgs inputReportArgs = new InputReportEventArgs(stylusDevice.StylusDevice, mouseInputReport); 2850InputReportEventArgs inputReportArgs = new InputReportEventArgs(stylusDevice.StylusDevice, mouseInputReport);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (6)
63_stylusLogic.RegisterStylusDeviceCore(StylusDevice); 73_stylusLogic.UnregisterStylusDeviceCore(StylusDevice); 368InputReportEventArgs inputReportEventArgs = new InputReportEventArgs(StylusDevice, report); 628StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 635StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp); 1692InputReportEventArgs inputReportArgs = new InputReportEventArgs(StylusDevice, mouseInputReport);
System\Windows\InterOp\HwndPointerInputProvider.cs (2)
251StylusDevice = _currentStylusDevice.StylusDevice, 274InputReportEventArgs irea = new InputReportEventArgs(_currentStylusDevice.StylusDevice, rsir)