4 writes to Device
PresentationCore (4)
System\Windows\Input\Command\CommandDevice.cs (1)
60input.Device = this;
System\Windows\Input\KeyboardDevice.cs (1)
658e.StagingItem.Input.Device = this;
System\Windows\Input\MouseDevice.cs (1)
1224inputReportEventArgs.Device = this;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
961input.Device = stylusDevice.StylusDevice;
58 references to Device
PresentationCore (29)
System\Windows\Input\AccessKeyManager.cs (1)
304KeyboardDevice keyboard = (KeyboardDevice)e.Device;
System\Windows\Input\InputManager.cs (3)
746if (input.Device != null) 748eventSource = input.Device.Target as DependencyObject; 858InputReportEventArgs inputReport = new InputReportEventArgs(previewInputReport.Device, previewInputReport.Report);
System\Windows\Input\KeyboardEventArgs.cs (1)
33get {return (KeyboardDevice) this.Device;}
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
87_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
137_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
211_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDevice.cs (1)
333if (inputEventArgs.Device == this)
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
182_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
115_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
99_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\MouseDevice.cs (4)
1181InputReportEventArgs actionsArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActions); 1214inputDevice = inputReportEventArgs.Device as StylusDevice; 1364InputReportEventArgs activateArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActivate); 1411_stylusDevice = inputReportEventArgs.Device as StylusDevice;
System\Windows\Input\MouseEventArgs.cs (1)
52get {return (MouseDevice) this.Device;}
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (2)
38return (StylusDevice)this.Device; 51return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
208var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
484if ((input.Device as StylusDevice) == null) 867StylusDevice stylusDevice = ((StylusDevice)input.Device); 1678!(inputReportArgs.Device is StylusDevice))
System\Windows\Input\TextCompositionManager.cs (4)
423_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 523TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 536TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 549TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition);
System\Windows\Input\TouchDevice.cs (1)
988if ((inputEventArgs != null) && (inputEventArgs.Device == this))
System\Windows\Input\TouchEventArgs.cs (1)
22get { return (TouchDevice)Device; }
PresentationFramework (29)
MS\Internal\Ink\EditingCoordinator.cs (3)
736capturedDevice = args.Device; 769if ( IsInputDeviceCaptured(args.Device) ) 852if (IsInputDeviceCaptured(args.Device)
MS\Internal\Ink\SelectionEditor.cs (2)
158EditingCoordinator.ActivateDynamicBehavior(EditingCoordinator.SelectionEditingBehavior, args.Device); 168args.StylusDevice != null ? args.StylusDevice : args.Device);
System\Windows\Controls\ComboBox.cs (8)
1349NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1369NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1408NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1423NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1438NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1461NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1482NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1490NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
425NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 434NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (5)
372new ItemNavigateArgs(e.Device, Keyboard.Modifiers))) 386NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 390NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 477NavigateByPage(FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 481NavigateByPage(FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (4)
1904NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1908NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1951NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1961NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\StickyNote.cs (2)
875stylusDevice = args.Device as StylusDevice; 882mouseDevice = args.Device as MouseDevice;
System\Windows\Controls\TreeView.cs (1)
715new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
697new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\windows\Documents\TextEditorTyping.cs (1)
401KeyboardDevice keyboard = e.Device as KeyboardDevice;