1 instantiation of StylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
50StylusDevice = new StylusDevice(this);
85 references to StylusDevice
PresentationCore (72)
System\Windows\Input\MouseButtonEventArgs.cs (1)
52StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\MouseDevice.cs (10)
1195InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1214inputDevice = inputReportEventArgs.Device as StylusDevice; 1411_stylusDevice = inputReportEventArgs.Device as StylusDevice; 1777StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 2133internal bool IsSameSpot(Point newPosition, StylusDevice stylusDevice) 2143internal int CalculateClickCount(MouseButton button, int timeStamp, StylusDevice stylusDevice, Point downPt) 2196private StylusDevice GetStylusDevice(StagingAreaInputItem stagingItem) 2198return stagingItem.GetData(_tagStylusDevice) as StylusDevice; 2201internal StylusDevice StylusDevice 2285private StylusDevice _stylusDevice = null;
System\Windows\Input\MouseEventArgs.cs (3)
40public MouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp) 58public StylusDevice StylusDevice 143private StylusDevice _stylusDevice;
System\Windows\Input\QueryCursorEventArgs.cs (1)
37public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (2)
229public virtual void Reset(StylusDevice stylusDevice, StylusPointCollection stylusPoints) 482StylusDevice stylusDevice = tabletDevice.StylusDevices[j];
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
51StylusDevice _stylusDevice; 121internal StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\Stylus.cs (1)
795public static StylusDevice CurrentStylusDevice
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
80public StylusDevice StylusDevice
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
28StylusDevice stylusDevice, int timestamp,
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
28internal StylusDevice StylusDevice { get; private set; }
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (3)
13public class StylusDeviceCollection : ReadOnlyCollection<StylusDevice> 23: base(new List<StylusDevice>()) 33foreach (StylusDevice stylusDevice in this.Items)
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
24StylusDevice stylusDevice, int timestamp)
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (4)
24public StylusEventArgs(StylusDevice stylus, int timestamp) : base(stylus, timestamp) 34public StylusDevice StylusDevice 38return (StylusDevice)this.Device; 51return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
30StylusDevice stylusDevice, int timestamp, 68StylusDevice stylusDevice,
System\Windows\Input\Stylus\Common\Tablet.cs (1)
22StylusDevice stylus = Stylus.CurrentStylusDevice;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (3)
208var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>(); 335foreach (StylusDevice stylus in tabletDevice.StylusDevices) 1030StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (7)
616IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 678return _currentStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _currentStylusPoints.Description); 694return _currentStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 903stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 927stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1084IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1137group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (16)
484if ((input.Device as StylusDevice) == null) 867StylusDevice stylusDevice = ((StylusDevice)input.Device); 1150foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 1405StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1678!(inputReportArgs.Device is StylusDevice)) 2020foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 2561StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2784StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2874StylusDevice stylusDevice = report.StylusDevice; 2995internal void RegisterStylusDeviceCore(StylusDevice stylusDevice) 3015internal void UnregisterStylusDeviceCore(StylusDevice stylusDevice) 3030StylusDevice stylusDevice; 3037StylusDevice stylusDevice; 3691Dictionary<int, StylusDevice> __stylusDeviceMap = new Dictionary<int, StylusDevice>(2);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (8)
327IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 665IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 972stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 997stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1116return _eventStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _eventStylusPoints.Description); 1133return _eventStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 1206GeneralTransform transform = StylusDevice.GetElementTransform(relativeTo); 1287group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
131StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 150StylusDevice stylusDevice = Stylus.CurrentStylusDevice;
System\Windows\InterOp\HwndSource.cs (1)
405if (inputDevice == typeof(StylusDevice))
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
94IInputElement inputElement = StylusDevice.LocalHitTest(_source, ptClient1);
PresentationFramework (13)
MS\Internal\Ink\EditingCoordinator.cs (6)
415StylusDevice stylusDevice = Stylus.CurrentStylusDevice; 828StylusDevice stylusDevice = null; 933_capturedStylus = inputDevice as StylusDevice; 1056return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured == _inkCanvas) 1264private bool UpdateInvertedState(StylusDevice stylusDevice, bool stylusIsInverted) 1402private StylusDevice _capturedStylus;
MS\Internal\Ink\InkCollectionBehavior.cs (2)
246StylusDevice stylusDevice = inputDevice as StylusDevice;
System\Windows\Controls\StickyNote.cs (2)
871StylusDevice stylusDevice = null; 875stylusDevice = args.Device as StylusDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
716case 622: t = () => typeof(StylusDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9696typeof(System.Windows.Input.StylusDevice),
System\Windows\Markup\KnownTypes.cs (1)
6176case KnownElements.StylusDevice: t = typeof(System.Windows.Input.StylusDevice); break;