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