262 references to StagingItem
PresentationCore (231)
System\Windows\Input\AccessKeyManager.cs (5)
197
if (e.
StagingItem
.Input.Handled) return;
199
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
201
OnKeyDown((KeyEventArgs)e.
StagingItem
.Input);
203
else if (e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputEvent)
205
OnText((TextCompositionEventArgs)e.
StagingItem
.Input);
System\Windows\Input\Command\CommandDevice.cs (10)
51
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
78
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
80
if (!e.
StagingItem
.Input.Handled)
82
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
88
IInputElement commandTarget = e.
StagingItem
.Input.OriginalSource as IInputElement;
101
e.PushInput(args, e.
StagingItem
);
108
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent ||
109
e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent ||
110
e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent ||
111
e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (2)
891
processInputEventArgs.
StagingItem
.Input.MarkAsUserInitiated();
906
processInputEventArgs.
StagingItem
.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
667
e.
StagingItem
.Input.Device = this;
723
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
727
e.
StagingItem
.SetData(_tagKey, key);
728
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
740
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
744
e.
StagingItem
.SetData(_tagKey, key);
745
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
755
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
759
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
779
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
783
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
794
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
798
if(!e.
StagingItem
.Input.Handled)
800
KeyEventArgs previewKeyDown = (KeyEventArgs) e.
StagingItem
.Input;
844
e.PushInput(keyDown, e.
StagingItem
);
849
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
853
if(!e.
StagingItem
.Input.Handled)
855
KeyEventArgs previewKeyUp = (KeyEventArgs) e.
StagingItem
.Input;
898
e.PushInput(keyUp, e.
StagingItem
);
907
if(!e.
StagingItem
.Input.Handled)
916
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
920
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
928
e.PushInput(previewKeyDown, e.
StagingItem
);
935
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
939
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
947
e.PushInput(previewKeyUp, e.
StagingItem
);
960
ChangeFocus(null, e.
StagingItem
.Input.Timestamp);
970
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
988
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
326
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
System\Windows\Input\MouseDevice.cs (71)
1151
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
1153
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1200
InputDevice inputDevice = e.
StagingItem
.GetData(_tagStylusDevice) as StylusDevice;
1224
e.
StagingItem
.SetData(_tagStylusDevice, inputDevice);
1242
e.PushInput(e.
StagingItem
);
1245
ChangeMouseOver(null, e.
StagingItem
.Input.Timestamp);
1302
e.
StagingItem
.SetData(_tagRootPoint, ptRoot);
1319
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1321
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1328
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
))
1337
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1339
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1346
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
))
1386
if ( e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent )
1388
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1407
_stylusDevice = GetStylusDevice(e.
StagingItem
);
1458
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1464
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1478
Point ptRoot = (Point) e.
StagingItem
.GetData(_tagRootPoint);
1688
ChangeMouseOver(mouseOver, e.
StagingItem
.Input.Timestamp);
1773
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
1786
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1788
MouseButtonEventArgs mouseButtonArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1789
StylusDevice stylusDevice = GetStylusDevice(e.
StagingItem
);
1820
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent)
1822
if (!e.
StagingItem
.Input.Handled)
1824
MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.
StagingItem
.Input;
1836
e.PushInput(wheel, e.
StagingItem
);
1841
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1843
if (!e.
StagingItem
.Input.Handled)
1845
MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.
StagingItem
.Input;
1846
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.
StagingItem
))
1851
e.PushInput(down, e.
StagingItem
);
1856
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1858
if (!e.
StagingItem
.Input.Handled)
1860
MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.
StagingItem
.Input;
1861
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.
StagingItem
))
1865
e.PushInput(up, e.
StagingItem
);
1870
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1872
if (!e.
StagingItem
.Input.Handled)
1874
MouseEventArgs previewMove = (MouseEventArgs) e.
StagingItem
.Input;
1875
MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.
StagingItem
))
1879
e.PushInput(move, e.
StagingItem
);
1885
if (e.
StagingItem
.Input.RoutedEvent == Mouse.QueryCursorEvent)
1887
QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.
StagingItem
.Input;
1893
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1895
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1938
e.PushInput(previewWheel, e.
StagingItem
);
1944
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
))
1948
e.PushInput(previewDown, e.
StagingItem
);
1954
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
))
1958
e.PushInput(previewUp, e.
StagingItem
);
1964
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
))
1968
e.PushInput(previewDown, e.
StagingItem
);
1974
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
))
1978
e.PushInput(previewUp, e.
StagingItem
);
1984
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
))
1988
e.PushInput(previewDown, e.
StagingItem
);
1994
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
))
1998
e.PushInput(previewUp, e.
StagingItem
);
2004
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
))
2008
e.PushInput(previewDown, e.
StagingItem
);
2014
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
))
2018
e.PushInput(previewUp, e.
StagingItem
);
2024
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
))
2028
e.PushInput(previewDown, e.
StagingItem
);
2034
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
))
2038
e.PushInput(previewUp, e.
StagingItem
);
2045
MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.
StagingItem
))
2049
e.PushInput(previewMove, e.
StagingItem
);
2068
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (23)
166
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
168
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
287
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
289
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
331
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
332
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
347
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
349
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1017
e.PushInput(args, e.
StagingItem
);
1026
if (!e.
StagingItem
.Input.Handled)
1028
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1031
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1063
e.PushInput(eventArgsMain, e.
StagingItem
);
1072
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1087
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1099
if (e.
StagingItem
.Input.Handled)
1130
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1134
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1138
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1265
if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1267
StylusEventArgs stylusDownEventArgs = args.
StagingItem
.Input as StylusDownEventArgs;
1302
else if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent)
1304
StylusSystemGestureEventArgs stylusGestureEventArgs = args.
StagingItem
.Input as StylusSystemGestureEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (12)
489
if (!e.
StagingItem
.Input.Handled)
493
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
494
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
495
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
496
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
509
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
514
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
539
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
547
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
550
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
556
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
563
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (46)
464
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
466
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
686
touchDevice.StoredStagingAreaItems.AddItem(e.
StagingItem
);
987
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
989
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1056
if (e.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1058
StylusEventArgs stylusDownEventArgs = e.
StagingItem
.Input as StylusDownEventArgs;
1149
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
1150
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
1177
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1179
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1259
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1263
StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.
StagingItem
.Input;
1323
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusMoveEvent)
1325
StylusEventArgs stylusMove = (StylusEventArgs)e.
StagingItem
.Input;
1335
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1337
StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.
StagingItem
.Input;
1357
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1359
var stylusArgs = e.
StagingItem
.Input as StylusEventArgs;
1402
e.PushInput(args, e.
StagingItem
);
1410
if (!e.
StagingItem
.Input.Handled)
1412
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1415
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1447
e.PushInput(eventArgsMain, e.
StagingItem
);
1456
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1467
StagingAreaInputItem stagingItem = e.
StagingItem
;
1479
if (e.
StagingItem
.Input.Handled)
1499
else if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1549
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1553
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1557
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1806
if (!e.
StagingItem
.Input.Handled)
1810
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
1811
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
1812
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
1813
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
1826
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1831
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1856
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
1864
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
1867
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1873
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1880
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
2884
if (!e.
StagingItem
.Input.Handled)
2886
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
2892
StylusEventArgs eventArgs = (StylusEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TextCompositionManager.cs (21)
414
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
416
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
455
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
457
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
474
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
476
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
524
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent)
526
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
534
e.PushInput(text, e.
StagingItem
);
539
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent)
541
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
549
e.PushInput(text, e.
StagingItem
);
554
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent)
556
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
564
e.PushInput(text, e.
StagingItem
);
569
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent)
571
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
582
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent)
584
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
600
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
660
TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.
StagingItem
.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TextServicesManager.cs (9)
122
if(e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyDownEvent &&
123
e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyUpEvent)
144
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
180
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent ||
181
e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
187
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
202
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent ||
203
e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
205
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TouchDevice.cs (2)
989
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
1019
e.PushInput(promotedTouchEventArgs, e.
StagingItem
);
PresentationFramework (14)
System\Windows\Controls\PopupControlService.cs (13)
37
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
39
InputReportEventArgs report = (InputReportEventArgs)e.
StagingItem
.Input;
106
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
108
ProcessKeyDown(sender, (KeyEventArgs)e.
StagingItem
.Input);
110
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
112
ProcessKeyUp(sender, (KeyEventArgs)e.
StagingItem
.Input);
114
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent)
116
ProcessMouseUp(sender, (MouseButtonEventArgs)e.
StagingItem
.Input);
118
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseDownEvent)
122
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent)
124
ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
126
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
128
ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
System\Windows\Input\KeyboardNavigation.cs (1)
1164
ProcessInput(e.
StagingItem
.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
684
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
687
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
701
OnPreviewTextInput((TextCompositionEventArgs)e.
StagingItem
.Input);
705
OnPreviewKeyDown((KeyEventArgs)e.
StagingItem
.Input);
709
e.
StagingItem
.Input.Handled = true;
716
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
718
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (2)
35
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
37
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHost.cs (4)
526
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
528
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
536
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
998
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
1000
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
1008
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);