262 references to StagingItem
PresentationCore (231)
System\Windows\Input\AccessKeyManager.cs (5)
196
if (e.
StagingItem
.Input.Handled) return;
198
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
200
OnKeyDown((KeyEventArgs)e.
StagingItem
.Input);
202
else if (e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputEvent)
204
OnText((TextCompositionEventArgs)e.
StagingItem
.Input);
System\Windows\Input\Command\CommandDevice.cs (10)
50
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
77
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
79
if (!e.
StagingItem
.Input.Handled)
81
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
87
IInputElement commandTarget = e.
StagingItem
.Input.OriginalSource as IInputElement;
100
e.PushInput(args, e.
StagingItem
);
107
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent ||
108
e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent ||
109
e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent ||
110
e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (2)
890
processInputEventArgs.
StagingItem
.Input.MarkAsUserInitiated();
905
processInputEventArgs.
StagingItem
.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
666
e.
StagingItem
.Input.Device = this;
722
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
726
e.
StagingItem
.SetData(_tagKey, key);
727
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
739
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
743
e.
StagingItem
.SetData(_tagKey, key);
744
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
754
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
758
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
778
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
782
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
793
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
797
if(!e.
StagingItem
.Input.Handled)
799
KeyEventArgs previewKeyDown = (KeyEventArgs) e.
StagingItem
.Input;
843
e.PushInput(keyDown, e.
StagingItem
);
848
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
852
if(!e.
StagingItem
.Input.Handled)
854
KeyEventArgs previewKeyUp = (KeyEventArgs) e.
StagingItem
.Input;
897
e.PushInput(keyUp, e.
StagingItem
);
906
if(!e.
StagingItem
.Input.Handled)
915
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
919
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
927
e.PushInput(previewKeyDown, e.
StagingItem
);
934
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
938
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
946
e.PushInput(previewKeyUp, e.
StagingItem
);
959
ChangeFocus(null, e.
StagingItem
.Input.Timestamp);
969
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
987
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
325
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
System\Windows\Input\MouseDevice.cs (71)
1150
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
1152
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1199
InputDevice inputDevice = e.
StagingItem
.GetData(_tagStylusDevice) as StylusDevice;
1223
e.
StagingItem
.SetData(_tagStylusDevice, inputDevice);
1241
e.PushInput(e.
StagingItem
);
1244
ChangeMouseOver(null, e.
StagingItem
.Input.Timestamp);
1301
e.
StagingItem
.SetData(_tagRootPoint, ptRoot);
1318
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1320
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1327
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
))
1336
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1338
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1345
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
))
1385
if ( e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent )
1387
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1406
_stylusDevice = GetStylusDevice(e.
StagingItem
);
1457
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1463
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1477
Point ptRoot = (Point) e.
StagingItem
.GetData(_tagRootPoint);
1687
ChangeMouseOver(mouseOver, e.
StagingItem
.Input.Timestamp);
1772
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
1785
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1787
MouseButtonEventArgs mouseButtonArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1788
StylusDevice stylusDevice = GetStylusDevice(e.
StagingItem
);
1819
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent)
1821
if (!e.
StagingItem
.Input.Handled)
1823
MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.
StagingItem
.Input;
1835
e.PushInput(wheel, e.
StagingItem
);
1840
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1842
if (!e.
StagingItem
.Input.Handled)
1844
MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.
StagingItem
.Input;
1845
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.
StagingItem
))
1850
e.PushInput(down, e.
StagingItem
);
1855
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1857
if (!e.
StagingItem
.Input.Handled)
1859
MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.
StagingItem
.Input;
1860
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.
StagingItem
))
1864
e.PushInput(up, e.
StagingItem
);
1869
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1871
if (!e.
StagingItem
.Input.Handled)
1873
MouseEventArgs previewMove = (MouseEventArgs) e.
StagingItem
.Input;
1874
MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.
StagingItem
))
1878
e.PushInput(move, e.
StagingItem
);
1884
if (e.
StagingItem
.Input.RoutedEvent == Mouse.QueryCursorEvent)
1886
QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.
StagingItem
.Input;
1892
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1894
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1937
e.PushInput(previewWheel, e.
StagingItem
);
1943
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
))
1947
e.PushInput(previewDown, e.
StagingItem
);
1953
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
))
1957
e.PushInput(previewUp, e.
StagingItem
);
1963
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
))
1967
e.PushInput(previewDown, e.
StagingItem
);
1973
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
))
1977
e.PushInput(previewUp, e.
StagingItem
);
1983
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
))
1987
e.PushInput(previewDown, e.
StagingItem
);
1993
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
))
1997
e.PushInput(previewUp, e.
StagingItem
);
2003
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
))
2007
e.PushInput(previewDown, e.
StagingItem
);
2013
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
))
2017
e.PushInput(previewUp, e.
StagingItem
);
2023
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
))
2027
e.PushInput(previewDown, e.
StagingItem
);
2033
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
))
2037
e.PushInput(previewUp, e.
StagingItem
);
2044
MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.
StagingItem
))
2048
e.PushInput(previewMove, e.
StagingItem
);
2067
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (23)
165
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
167
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
286
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
288
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
330
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
331
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
346
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
348
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1016
e.PushInput(args, e.
StagingItem
);
1025
if (!e.
StagingItem
.Input.Handled)
1027
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1030
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1062
e.PushInput(eventArgsMain, e.
StagingItem
);
1071
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1086
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1098
if (e.
StagingItem
.Input.Handled)
1129
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1133
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1137
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1264
if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1266
StylusEventArgs stylusDownEventArgs = args.
StagingItem
.Input as StylusDownEventArgs;
1301
else if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent)
1303
StylusSystemGestureEventArgs stylusGestureEventArgs = args.
StagingItem
.Input as StylusSystemGestureEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (12)
488
if (!e.
StagingItem
.Input.Handled)
492
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
493
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
494
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
495
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
508
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
513
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
538
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
546
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
549
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
555
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
562
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (46)
463
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
465
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
685
touchDevice.StoredStagingAreaItems.AddItem(e.
StagingItem
);
986
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
988
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1055
if (e.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1057
StylusEventArgs stylusDownEventArgs = e.
StagingItem
.Input as StylusDownEventArgs;
1148
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
1149
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
1176
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1178
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1258
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1262
StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.
StagingItem
.Input;
1322
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusMoveEvent)
1324
StylusEventArgs stylusMove = (StylusEventArgs)e.
StagingItem
.Input;
1334
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1336
StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.
StagingItem
.Input;
1356
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1358
var stylusArgs = e.
StagingItem
.Input as StylusEventArgs;
1401
e.PushInput(args, e.
StagingItem
);
1409
if (!e.
StagingItem
.Input.Handled)
1411
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1414
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1446
e.PushInput(eventArgsMain, e.
StagingItem
);
1455
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1466
StagingAreaInputItem stagingItem = e.
StagingItem
;
1478
if (e.
StagingItem
.Input.Handled)
1498
else if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1548
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1552
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1556
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1805
if (!e.
StagingItem
.Input.Handled)
1809
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
1810
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
1811
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
1812
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
1825
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1830
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1855
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
1863
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
1866
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1872
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1879
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
2883
if (!e.
StagingItem
.Input.Handled)
2885
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
2891
StylusEventArgs eventArgs = (StylusEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TextCompositionManager.cs (21)
426
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
428
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
467
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
469
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
486
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
488
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
533
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent)
535
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
543
e.PushInput(text, e.
StagingItem
);
548
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent)
550
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
558
e.PushInput(text, e.
StagingItem
);
563
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent)
565
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
573
e.PushInput(text, e.
StagingItem
);
578
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent)
580
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
591
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent)
593
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
609
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
669
TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.
StagingItem
.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TextServicesManager.cs (9)
121
if(e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyDownEvent &&
122
e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyUpEvent)
143
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
179
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent ||
180
e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
186
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
201
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent ||
202
e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
204
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TouchDevice.cs (2)
988
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
1018
e.PushInput(promotedTouchEventArgs, e.
StagingItem
);
PresentationFramework (14)
System\Windows\Controls\PopupControlService.cs (13)
36
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
38
InputReportEventArgs report = (InputReportEventArgs)e.
StagingItem
.Input;
105
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
107
ProcessKeyDown(sender, (KeyEventArgs)e.
StagingItem
.Input);
109
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
111
ProcessKeyUp(sender, (KeyEventArgs)e.
StagingItem
.Input);
113
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent)
115
ProcessMouseUp(sender, (MouseButtonEventArgs)e.
StagingItem
.Input);
117
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseDownEvent)
121
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent)
123
ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
125
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
127
ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
System\Windows\Input\KeyboardNavigation.cs (1)
1162
ProcessInput(e.
StagingItem
.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
683
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
686
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
700
OnPreviewTextInput((TextCompositionEventArgs)e.
StagingItem
.Input);
704
OnPreviewKeyDown((KeyEventArgs)e.
StagingItem
.Input);
708
e.
StagingItem
.Input.Handled = true;
715
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
717
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (2)
34
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
36
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHost.cs (4)
525
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
527
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
535
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
997
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
999
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
1007
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);