1 instantiation of StylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
49StylusDevice = new StylusDevice(this);
85 references to StylusDevice
PresentationCore (72)
System\Windows\Input\MouseButtonEventArgs.cs (1)
51StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\MouseDevice.cs (10)
1199InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1218inputDevice = inputReportEventArgs.Device as StylusDevice; 1425_stylusDevice = inputReportEventArgs.Device as StylusDevice; 1788StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 2164internal bool IsSameSpot(Point newPosition, StylusDevice stylusDevice) 2174internal int CalculateClickCount(MouseButton button, int timeStamp, StylusDevice stylusDevice, Point downPt) 2227private StylusDevice GetStylusDevice(StagingAreaInputItem stagingItem) 2229return stagingItem.GetData(_tagStylusDevice) as StylusDevice; 2232internal StylusDevice StylusDevice 2316private StylusDevice _stylusDevice = null;
System\Windows\Input\MouseEventArgs.cs (3)
39public MouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp) 57public StylusDevice StylusDevice 142private StylusDevice _stylusDevice;
System\Windows\Input\QueryCursorEventArgs.cs (1)
36public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (2)
230public virtual void Reset(StylusDevice stylusDevice, StylusPointCollection stylusPoints) 483StylusDevice stylusDevice = tabletDevice.StylusDevices[j];
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
50private StylusDevice _stylusDevice; 120internal StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\Stylus.cs (1)
794public static StylusDevice CurrentStylusDevice
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
79public StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
27StylusDevice stylusDevice, int timestamp,
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
27internal StylusDevice StylusDevice { get; private set; }
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (3)
12public class StylusDeviceCollection : ReadOnlyCollection<StylusDevice> 22: base(new List<StylusDevice>()) 32foreach (StylusDevice stylusDevice in this.Items)
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
23StylusDevice stylusDevice, int timestamp)
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (4)
23public StylusEventArgs(StylusDevice stylus, int timestamp) : base(stylus, timestamp) 33public StylusDevice StylusDevice 37return (StylusDevice)this.Device; 50return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
29StylusDevice stylusDevice, int timestamp, 67StylusDevice stylusDevice,
System\Windows\Input\Stylus\Common\Tablet.cs (1)
21StylusDevice stylus = Stylus.CurrentStylusDevice;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (3)
207var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>(); 336foreach (StylusDevice stylus in tabletDevice.StylusDevices) 1031StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (7)
615IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 679return _currentStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _currentStylusPoints.Description); 695return _currentStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 904stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 928stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1089IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1142group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (16)
488if ((input.Device as StylusDevice) == null) 875StylusDevice stylusDevice = ((StylusDevice)input.Device); 1158foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 1415StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1688!(inputReportArgs.Device is StylusDevice)) 2032foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 2573StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2798StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2894StylusDevice stylusDevice = report.StylusDevice; 3017internal void RegisterStylusDeviceCore(StylusDevice stylusDevice) 3037internal void UnregisterStylusDeviceCore(StylusDevice stylusDevice) 3052StylusDevice stylusDevice; 3059StylusDevice stylusDevice; 3713private Dictionary<int, StylusDevice> __stylusDeviceMap = new Dictionary<int, StylusDevice>(2);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (8)
323IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 667IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 974stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 999stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1118return _eventStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _eventStylusPoints.Description); 1135return _eventStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 1208GeneralTransform transform = StylusDevice.GetElementTransform(relativeTo); 1289group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
130StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 149StylusDevice stylusDevice = Stylus.CurrentStylusDevice;
System\Windows\InterOp\HwndSource.cs (1)
410if (inputDevice == typeof(StylusDevice))
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
93IInputElement inputElement = StylusDevice.LocalHitTest(_source, ptClient1);
PresentationFramework (13)
MS\Internal\Ink\EditingCoordinator.cs (6)
414StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 824StylusDevice stylusDevice = null; 926_capturedStylus = inputDevice as StylusDevice; 1046return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured == _inkCanvas) 1254private bool UpdateInvertedState(StylusDevice stylusDevice, bool stylusIsInverted) 1392private StylusDevice _capturedStylus;
MS\Internal\Ink\InkCollectionBehavior.cs (2)
244StylusDevice stylusDevice = inputDevice as StylusDevice;
System\Windows\Controls\StickyNote.cs (2)
851StylusDevice stylusDevice = null; 855stylusDevice = args.Device as StylusDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
715case 622: t = () => typeof(StylusDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10753typeof(System.Windows.Input.StylusDevice),
System\Windows\Markup\KnownTypes.cs (1)
6169case KnownElements.StylusDevice: t = typeof(System.Windows.Input.StylusDevice); break;