1 instantiation of StylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
64StylusDevice = new StylusDevice(this);
85 references to StylusDevice
PresentationCore (72)
System\Windows\Input\MouseButtonEventArgs.cs (1)
55StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\MouseDevice.cs (10)
1204InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1223inputDevice = inputReportEventArgs.Device as StylusDevice; 1420_stylusDevice = inputReportEventArgs.Device as StylusDevice; 1786StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 2142internal bool IsSameSpot(Point newPosition, StylusDevice stylusDevice) 2152internal int CalculateClickCount(MouseButton button, int timeStamp, StylusDevice stylusDevice, Point downPt) 2205private StylusDevice GetStylusDevice(StagingAreaInputItem stagingItem) 2207return stagingItem.GetData(_tagStylusDevice) as StylusDevice; 2210internal StylusDevice StylusDevice 2294private StylusDevice _stylusDevice = null;
System\Windows\Input\MouseEventArgs.cs (3)
44public MouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp) 62public StylusDevice StylusDevice 147private StylusDevice _stylusDevice;
System\Windows\Input\QueryCursorEventArgs.cs (1)
39public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (2)
243public virtual void Reset(StylusDevice stylusDevice, StylusPointCollection stylusPoints) 496StylusDevice stylusDevice = tabletDevice.StylusDevices[j];
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
61StylusDevice _stylusDevice; 131internal StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\Stylus.cs (1)
800public static StylusDevice CurrentStylusDevice
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
81public StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
33StylusDevice stylusDevice, int timestamp,
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
42internal StylusDevice StylusDevice { get; private set; }
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (3)
21public class StylusDeviceCollection : ReadOnlyCollection<StylusDevice> 31: base(new List<StylusDevice>()) 41foreach (StylusDevice stylusDevice in this.Items)
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
29StylusDevice stylusDevice, int timestamp)
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (4)
28public StylusEventArgs(StylusDevice stylus, int timestamp) : base(stylus, timestamp) 38public StylusDevice StylusDevice 42return (StylusDevice)this.Device; 55return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
35StylusDevice stylusDevice, int timestamp, 73StylusDevice stylusDevice,
System\Windows\Input\Stylus\Common\Tablet.cs (1)
27StylusDevice stylus = Stylus.CurrentStylusDevice;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (3)
225var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>(); 352foreach (StylusDevice stylus in tabletDevice.StylusDevices) 1047StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (7)
624IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 686return _currentStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _currentStylusPoints.Description); 702return _currentStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 911stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 935stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1092IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1145group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (16)
493if ((input.Device as StylusDevice) == null) 876StylusDevice stylusDevice = ((StylusDevice)input.Device); 1159foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 1414StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1687!(inputReportArgs.Device is StylusDevice)) 2029foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 2570StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2793StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2883StylusDevice stylusDevice = report.StylusDevice; 3004internal void RegisterStylusDeviceCore(StylusDevice stylusDevice) 3024internal void UnregisterStylusDeviceCore(StylusDevice stylusDevice) 3039StylusDevice stylusDevice; 3046StylusDevice stylusDevice; 3700Dictionary<int, StylusDevice> __stylusDeviceMap = new Dictionary<int, StylusDevice>(2);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (8)
330IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 668IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 975stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1000stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1119return _eventStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _eventStylusPoints.Description); 1136return _eventStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 1209GeneralTransform transform = StylusDevice.GetElementTransform(relativeTo); 1290group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
140StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 159StylusDevice stylusDevice = Stylus.CurrentStylusDevice;
System\Windows\InterOp\HwndSource.cs (1)
417if (inputDevice == typeof(StylusDevice))
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
101IInputElement inputElement = StylusDevice.LocalHitTest(_source, ptClient1);
PresentationFramework (13)
MS\Internal\Ink\EditingCoordinator.cs (6)
430StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 843StylusDevice stylusDevice = null; 948_capturedStylus = inputDevice as StylusDevice; 1071return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured == _inkCanvas) 1279private bool UpdateInvertedState(StylusDevice stylusDevice, bool stylusIsInverted) 1417private StylusDevice _capturedStylus;
MS\Internal\Ink\InkCollectionBehavior.cs (2)
255StylusDevice stylusDevice = inputDevice as StylusDevice;
System\Windows\Controls\StickyNote.cs (2)
887StylusDevice stylusDevice = null; 891stylusDevice = args.Device as StylusDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
718case 622: t = () => typeof(StylusDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9698typeof(System.Windows.Input.StylusDevice),
System\Windows\Markup\KnownTypes.cs (1)
6176case KnownElements.StylusDevice: t = typeof(System.Windows.Input.StylusDevice); break;