4 writes to Device
PresentationCore (4)
System\Windows\Input\Command\CommandDevice.cs (1)
67
input.
Device
= this;
System\Windows\Input\KeyboardDevice.cs (1)
667
e.StagingItem.Input.
Device
= this;
System\Windows\Input\MouseDevice.cs (1)
1233
inputReportEventArgs.
Device
= this;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
970
input.
Device
= stylusDevice.StylusDevice;
58 references to Device
PresentationCore (29)
System\Windows\Input\AccessKeyManager.cs (1)
316
KeyboardDevice keyboard = (KeyboardDevice)e.
Device
;
System\Windows\Input\InputManager.cs (3)
754
if (input.
Device
!= null)
756
eventSource = input.
Device
.Target as DependencyObject;
866
InputReportEventArgs inputReport = new InputReportEventArgs(previewInputReport.
Device
, previewInputReport.Report);
System\Windows\Input\KeyboardEventArgs.cs (1)
36
get {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)
342
if (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)
1190
InputReportEventArgs actionsArgs = new InputReportEventArgs(inputReportEventArgs.
Device
, reportActions);
1223
inputDevice = inputReportEventArgs.
Device
as StylusDevice;
1373
InputReportEventArgs activateArgs = new InputReportEventArgs(inputReportEventArgs.
Device
, reportActivate);
1420
_stylusDevice = inputReportEventArgs.
Device
as StylusDevice;
System\Windows\Input\MouseEventArgs.cs (1)
56
get {return (MouseDevice) this.
Device
;}
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (2)
42
return (StylusDevice)this.
Device
;
55
return ((StylusDevice)this.
Device
).StylusDeviceImpl;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
225
var stylusDevice = (input.
Device
as StylusDevice)?.StylusDeviceImpl?.As<PointerStylusDevice>();
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
493
if ((input.
Device
as StylusDevice) == null)
876
StylusDevice 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
);
539
TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.
Device
, textArgs.TextComposition);
552
TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.
Device
, textArgs.TextComposition);
565
TextCompositionEventArgs text = new TextCompositionEventArgs(textArgs.
Device
, textArgs.TextComposition);
System\Windows\Input\TouchDevice.cs (1)
1000
if ((inputEventArgs != null) && (inputEventArgs.
Device
== this))
System\Windows\Input\TouchEventArgs.cs (1)
27
get { return (TouchDevice)
Device
; }
PresentationFramework (29)
MS\Internal\Ink\EditingCoordinator.cs (3)
751
capturedDevice = args.
Device
;
784
if ( IsInputDeviceCaptured(args.
Device
) )
867
if (IsInputDeviceCaptured(args.
Device
)
MS\Internal\Ink\SelectionEditor.cs (2)
173
EditingCoordinator.ActivateDynamicBehavior(EditingCoordinator.SelectionEditingBehavior, args.
Device
);
183
args.StylusDevice != null ? args.StylusDevice : args.
Device
);
System\Windows\Controls\ComboBox.cs (8)
1359
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1379
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1418
NavigateToStart(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1433
NavigateToEnd(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1448
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Right, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1471
NavigateByLine(HighlightedInfo, FocusNavigationDirection.Left, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1492
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Up, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1500
NavigateByPage(HighlightedInfo, FocusNavigationDirection.Down, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\Windows\Controls\ContextMenu.cs (2)
433
NavigateToStart(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
442
NavigateToEnd(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\Windows\Controls\ListBox.cs (5)
378
new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers)))
392
NavigateToStart(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
396
NavigateToEnd(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
483
NavigateByPage(FocusNavigationDirection.Up, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
487
NavigateByPage(FocusNavigationDirection.Down, new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\Windows\Controls\MenuItem.cs (4)
1914
NavigateToEnd(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1918
NavigateToStart(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1961
NavigateToStart(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
1971
NavigateToEnd(new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\Windows\Controls\StickyNote.cs (2)
891
stylusDevice = args.
Device
as StylusDevice;
898
mouseDevice = args.
Device
as MouseDevice;
System\Windows\Controls\TreeView.cs (1)
720
new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\Windows\Controls\TreeViewItem.cs (1)
701
new ItemNavigateArgs(e.
Device
, Keyboard.Modifiers));
System\windows\Documents\TextEditorTyping.cs (1)
410
KeyboardDevice keyboard = e.
Device
as KeyboardDevice;