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