4 writes to Device
PresentationCore (4)
System\Windows\Input\Command\CommandDevice.cs (1)
59input.Device = this;
System\Windows\Input\KeyboardDevice.cs (1)
666e.StagingItem.Input.Device = this;
System\Windows\Input\MouseDevice.cs (1)
1228inputReportEventArgs.Device = this;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
969input.Device = stylusDevice.StylusDevice;
58 references to Device
PresentationCore (29)
System\Windows\Input\AccessKeyManager.cs (1)
303KeyboardDevice keyboard = (KeyboardDevice)e.Device;
System\Windows\Input\InputManager.cs (3)
742if (input.Device != null) 744eventSource = input.Device.Target as DependencyObject; 854InputReportEventArgs inputReport = new InputReportEventArgs(previewInputReport.Device, previewInputReport.Report)
System\Windows\Input\KeyboardEventArgs.cs (1)
32get {return (KeyboardDevice) this.Device;}
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
86_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
136_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
210_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDevice.cs (1)
326if (inputEventArgs.Device == this)
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
181_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
114_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
98_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\MouseDevice.cs (4)
1183InputReportEventArgs actionsArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActions) 1218inputDevice = inputReportEventArgs.Device as StylusDevice; 1376InputReportEventArgs activateArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActivate) 1425_stylusDevice = inputReportEventArgs.Device as StylusDevice;
System\Windows\Input\MouseEventArgs.cs (1)
51get {return (MouseDevice) this.Device;}
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (2)
37return (StylusDevice)this.Device; 50return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
207var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
488if ((input.Device as StylusDevice) == null) 875StylusDevice stylusDevice = ((StylusDevice)input.Device); 1688!(inputReportArgs.Device is StylusDevice))
System\Windows\Input\TextCompositionManager.cs (4)
441_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 538TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition) 553TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition) 568TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition)
System\Windows\Input\TouchDevice.cs (1)
989if ((inputEventArgs != null) && (inputEventArgs.Device == this))
System\Windows\Input\TouchEventArgs.cs (1)
21get { return (TouchDevice)Device; }
PresentationFramework (29)
MS\Internal\Ink\EditingCoordinator.cs (3)
732capturedDevice = args.Device; 765if ( IsInputDeviceCaptured(args.Device) ) 848if (IsInputDeviceCaptured(args.Device)
MS\Internal\Ink\SelectionEditor.cs (2)
157EditingCoordinator.ActivateDynamicBehavior(EditingCoordinator.SelectionEditingBehavior, args.Device); 167args.StylusDevice ?? args.Device);
System\Windows\Controls\ComboBox.cs (8)
1346NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1366NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1405NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1420NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1435NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1458NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1479NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1487NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
424NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 433NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (5)
370new ItemNavigateArgs(e.Device, Keyboard.Modifiers))) 384NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 388NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 475NavigateByPage(FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 479NavigateByPage(FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (4)
1896NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1900NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1943NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1953NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\StickyNote.cs (2)
855stylusDevice = args.Device as StylusDevice; 862mouseDevice = args.Device as MouseDevice;
System\Windows\Controls\TreeView.cs (1)
712new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
688new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\windows\Documents\TextEditorTyping.cs (1)
394KeyboardDevice keyboard = e.Device as KeyboardDevice;