4 writes to Device
PresentationCore (4)
System\Windows\Input\Command\CommandDevice.cs (1)
67input.Device = this;
System\Windows\Input\KeyboardDevice.cs (1)
701e.StagingItem.Input.Device = this;
System\Windows\Input\MouseDevice.cs (1)
1256inputReportEventArgs.Device = this;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
970input.Device = stylusDevice.StylusDevice;
58 references to Device
PresentationCore (29)
System\Windows\Input\AccessKeyManager.cs (1)
316KeyboardDevice keyboard = (KeyboardDevice)e.Device;
System\Windows\Input\InputManager.cs (3)
759if (input.Device != null) 761eventSource = input.Device.Target as DependencyObject; 871InputReportEventArgs inputReport = new InputReportEventArgs(previewInputReport.Device, previewInputReport.Report);
System\Windows\Input\KeyboardEventArgs.cs (1)
36get {return (KeyboardDevice) this.Device;}
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
94_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
144_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
218_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationDevice.cs (1)
342if (inputEventArgs.Device == this)
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
189_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
122_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
105_manipulators = ((ManipulationDevice)Device).GetManipulatorsReadOnly();
System\Windows\Input\MouseDevice.cs (4)
1213InputReportEventArgs actionsArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActions); 1246inputDevice = inputReportEventArgs.Device as StylusDevice; 1396InputReportEventArgs activateArgs = new InputReportEventArgs(inputReportEventArgs.Device, reportActivate); 1443_stylusDevice = inputReportEventArgs.Device as StylusDevice;
System\Windows\Input\MouseEventArgs.cs (1)
56get {return (MouseDevice) this.Device;}
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (2)
42return (StylusDevice)this.Device; 55return ((StylusDevice)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
225var stylusDevice = (input.Device as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
493if ((input.Device as StylusDevice) == null) 876StylusDevice stylusDevice = ((StylusDevice)input.Device); 1687!(inputReportArgs.Device is StylusDevice))
System\Windows\Input\TextCompositionManager.cs (4)
439_altNumpadcomposition = new TextComposition(_inputManager, (IInputElement)keyArgs.Source, "", TextCompositionAutoComplete.Off, keyArgs.Device); 539TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 552TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition); 565TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.Device, textArgs.TextComposition);
System\Windows\Input\TouchDevice.cs (1)
1000if ((inputEventArgs != null) && (inputEventArgs.Device == this))
System\Windows\Input\TouchEventArgs.cs (1)
27get { return (TouchDevice)Device; }
PresentationFramework (29)
MS\Internal\Ink\EditingCoordinator.cs (3)
751capturedDevice = args.Device; 784if ( IsInputDeviceCaptured(args.Device) ) 867if (IsInputDeviceCaptured(args.Device)
MS\Internal\Ink\SelectionEditor.cs (2)
173EditingCoordinator.ActivateDynamicBehavior(EditingCoordinator.SelectionEditingBehavior, args.Device); 183args.StylusDevice != null ? args.StylusDevice : args.Device);
System\Windows\Controls\ComboBox.cs (8)
1359NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1379NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1418NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1433NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1448NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1471NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1492NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1500NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
433NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 442NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (5)
378new ItemNavigateArgs(e.Device, Keyboard.Modifiers))) 392NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 396NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 483NavigateByPage(FocusNavigationDirection.Up, new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 487NavigateByPage(FocusNavigationDirection.Down, new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (4)
1914NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1918NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1961NavigateToStart(new ItemNavigateArgs(e.Device, Keyboard.Modifiers)); 1971NavigateToEnd(new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\StickyNote.cs (2)
891stylusDevice = args.Device as StylusDevice; 898mouseDevice = args.Device as MouseDevice;
System\Windows\Controls\TreeView.cs (1)
720new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
701new ItemNavigateArgs(e.Device, Keyboard.Modifiers));
System\windows\Documents\TextEditorTyping.cs (1)
410KeyboardDevice keyboard = e.Device as KeyboardDevice;