3 writes to Device
PresentationCore (3)
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (1)
84input.Device = this;
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
751e.StagingItem.Input.Device = this;
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
1356inputReportEventArgs.Device = this;
52 references to Device
PresentationCore (23)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
366KeyboardDevice keyboard = (KeyboardDevice)e.Device;
Core\CSharp\System\Windows\Input\InputManager.cs (3)
957if (input.Device != null) 959eventSource = input.Device.Target as DependencyObject; 1075InputReportEventArgs inputReport = new InputReportEventArgs(previewInputReport.Device, previewInputReport.Report);
Core\CSharp\System\Windows\Input\KeyboardEventArgs.cs (1)
31get {return (KeyboardDevice) this.Device;}
Core\CSharp\System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
99_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
155_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
235_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (1)
393if (inputEventArgs.Device == this)
Core\CSharp\System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
197_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\ManipulationStartedEventArgs.cs (1)
127_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\ManipulationStartingEventArgs.cs (1)
104_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
Core\CSharp\System\Windows\Input\MouseDevice.cs (4)
1300InputReportEventArgs actionsArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActions); 1315InputReportEventArgs activateArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActivate); 1346inputDevice = inputReportEventArgs.Device as StylusDevice; 1526_stylusDevice = inputReportEventArgs.Device as StylusDevice;
Core\CSharp\System\Windows\Input\MouseEventArgs.cs (1)
58get {return (MouseDevice) this.Device;}
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (4)
564_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 673TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 686TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 699TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition);
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
1089if ((inputEventArgs != null) && (inputEventArgs.Device == this))
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (1)
26get { return (TouchDevice)Device; }
PresentationFramework (29)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (3)
777capturedDevice = args.Device; 822if ( IsInputDeviceCaptured(args.Device) ) 905if (IsInputDeviceCaptured(args.Device)
src\Framework\MS\Internal\Ink\SelectionEditor.cs (2)
187EditingCoordinator.ActivateDynamicBehavior(EditingCoordinator.SelectionEditingBehavior, args.Device); 197args.StylusDevice != null ? args.StylusDevice : args.Device);
src\Framework\System\Windows\Controls\ComboBox.cs (8)
1361NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1381NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1420NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1435NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1450NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1473NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1494NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1502NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
437NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 446NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\ListBox.cs (5)
376new ItemNavigateArgs(e.Device, Keyboard.Modifiers))) 390NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 394NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 481NavigateByPage(FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 485NavigateByPage(FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\MenuItem.cs (4)
1956NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1960NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 2003NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 2013NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\StickyNote.cs (2)
901stylusDevice = args.Device as StylusDevice; 908mouseDevice = args.Device as MouseDevice;
src\Framework\System\Windows\Controls\TreeView.cs (1)
722new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
702new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
415KeyboardDevice keyboard = e.Device as KeyboardDevice;