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)
1200InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1219inputDevice = inputReportEventArgs.Device as StylusDevice; 1426_stylusDevice = inputReportEventArgs.Device as StylusDevice; 1792StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 2168internal bool IsSameSpot(Point newPosition, StylusDevice stylusDevice) 2178internal int CalculateClickCount(MouseButton button, int timeStamp, StylusDevice stylusDevice, Point downPt) 2231private StylusDevice GetStylusDevice(StagingAreaInputItem stagingItem) 2233return stagingItem.GetData(_tagStylusDevice) as StylusDevice; 2236internal StylusDevice StylusDevice 2320private 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)
231public virtual void Reset(StylusDevice stylusDevice, StylusPointCollection stylusPoints) 484StylusDevice 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>(); 337foreach (StylusDevice stylus in tabletDevice.StylusDevices) 1032StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (7)
616IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 680return _currentStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _currentStylusPoints.Description); 696return _currentStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 905stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 929stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1090IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1143group.Children.Add(StylusDevice.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (16)
489if ((input.Device as StylusDevice) == null) 876StylusDevice stylusDevice = ((StylusDevice)input.Device); 1159foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 1416StylusDevice stylusDevice = eventArgsPreview.InputReport.StylusDevice; 1689!(inputReportArgs.Device is StylusDevice)) 2033foreach (StylusDevice stylusDevice in tabletDevice.StylusDevices) 2574StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2799StylusDevice stylusDevice = rawStylusInputReport.StylusDevice; 2895StylusDevice stylusDevice = report.StylusDevice; 3018internal void RegisterStylusDeviceCore(StylusDevice stylusDevice) 3038internal void UnregisterStylusDeviceCore(StylusDevice stylusDevice) 3053StylusDevice stylusDevice; 3060StylusDevice stylusDevice; 3714Dictionary<int, StylusDevice> __stylusDeviceMap = new Dictionary<int, StylusDevice>(2);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (8)
327IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 671IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 978stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1003stylusOver = StylusDevice.GlobalHitTest(inputSource, position); 1122return _eventStylusPoints.Clone(StylusDevice.GetElementTransform(relativeTo), _eventStylusPoints.Description); 1139return _eventStylusPoints.Reformat(subsetToReformatTo, StylusDevice.GetElementTransform(relativeTo)); 1212GeneralTransform transform = StylusDevice.GetElementTransform(relativeTo); 1293group.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)
411if (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)
860StylusDevice stylusDevice = null; 864stylusDevice = args.Device as StylusDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
716case 622: t = () => typeof(StylusDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10754typeof(System.Windows.Input.StylusDevice),
System\Windows\Markup\KnownTypes.cs (1)
6170case KnownElements.StylusDevice: t = typeof(System.Windows.Input.StylusDevice); break;