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;
99
e.PushInput(args, e.
StagingItem
);
106
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent ||
107
e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent ||
108
e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent ||
109
e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (2)
889
processInputEventArgs.
StagingItem
.Input.MarkAsUserInitiated();
904
processInputEventArgs.
StagingItem
.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
658
e.
StagingItem
.Input.Device = this;
717
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
721
e.
StagingItem
.SetData(_tagKey, key);
722
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
734
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
738
e.
StagingItem
.SetData(_tagKey, key);
739
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
749
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
753
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
773
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
777
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
788
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
792
if(!e.
StagingItem
.Input.Handled)
794
KeyEventArgs previewKeyDown = (KeyEventArgs) e.
StagingItem
.Input;
838
e.PushInput(keyDown, e.
StagingItem
);
843
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
847
if(!e.
StagingItem
.Input.Handled)
849
KeyEventArgs previewKeyUp = (KeyEventArgs) e.
StagingItem
.Input;
892
e.PushInput(keyUp, e.
StagingItem
);
901
if(!e.
StagingItem
.Input.Handled)
910
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
914
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
922
e.PushInput(previewKeyDown, e.
StagingItem
);
929
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
933
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
941
e.PushInput(previewKeyUp, e.
StagingItem
);
954
ChangeFocus(null, e.
StagingItem
.Input.Timestamp);
964
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
982
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
332
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
System\Windows\Input\MouseDevice.cs (71)
1148
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
1150
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1195
InputDevice inputDevice = e.
StagingItem
.GetData(_tagStylusDevice) as StylusDevice;
1219
e.
StagingItem
.SetData(_tagStylusDevice, inputDevice);
1237
e.PushInput(e.
StagingItem
);
1240
ChangeMouseOver(null, e.
StagingItem
.Input.Timestamp);
1293
e.
StagingItem
.SetData(_tagRootPoint, ptRoot);
1310
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1312
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1319
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
));
1326
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1328
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1335
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
));
1371
if ( e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent )
1373
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1392
_stylusDevice = GetStylusDevice(e.
StagingItem
);
1446
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1452
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1466
Point ptRoot = (Point) e.
StagingItem
.GetData(_tagRootPoint);
1676
ChangeMouseOver(mouseOver, e.
StagingItem
.Input.Timestamp);
1761
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
1774
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1776
MouseButtonEventArgs mouseButtonArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1777
StylusDevice stylusDevice = GetStylusDevice(e.
StagingItem
);
1808
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent)
1810
if (!e.
StagingItem
.Input.Handled)
1812
MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.
StagingItem
.Input;
1822
e.PushInput(wheel, e.
StagingItem
);
1827
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1829
if (!e.
StagingItem
.Input.Handled)
1831
MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.
StagingItem
.Input;
1832
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.
StagingItem
));
1835
e.PushInput(down, e.
StagingItem
);
1840
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1842
if (!e.
StagingItem
.Input.Handled)
1844
MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.
StagingItem
.Input;
1845
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.
StagingItem
));
1847
e.PushInput(up, e.
StagingItem
);
1852
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1854
if (!e.
StagingItem
.Input.Handled)
1856
MouseEventArgs previewMove = (MouseEventArgs) e.
StagingItem
.Input;
1857
MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.
StagingItem
));
1859
e.PushInput(move, e.
StagingItem
);
1865
if (e.
StagingItem
.Input.RoutedEvent == Mouse.QueryCursorEvent)
1867
QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.
StagingItem
.Input;
1873
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1875
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1917
e.PushInput(previewWheel, e.
StagingItem
);
1923
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1926
e.PushInput(previewDown, e.
StagingItem
);
1932
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1935
e.PushInput(previewUp, e.
StagingItem
);
1941
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1944
e.PushInput(previewDown, e.
StagingItem
);
1950
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1953
e.PushInput(previewUp, e.
StagingItem
);
1959
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
1962
e.PushInput(previewDown, e.
StagingItem
);
1968
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
1971
e.PushInput(previewUp, e.
StagingItem
);
1977
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
1980
e.PushInput(previewDown, e.
StagingItem
);
1986
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
1989
e.PushInput(previewUp, e.
StagingItem
);
1995
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
1998
e.PushInput(previewDown, e.
StagingItem
);
2004
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
2007
e.PushInput(previewUp, e.
StagingItem
);
2014
MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.
StagingItem
));
2017
e.PushInput(previewMove, e.
StagingItem
);
2036
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;
285
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
287
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
329
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
330
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
345
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
347
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1015
e.PushInput(args, e.
StagingItem
);
1024
if (!e.
StagingItem
.Input.Handled)
1026
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1029
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1061
e.PushInput(eventArgsMain, e.
StagingItem
);
1070
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1085
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1097
if (e.
StagingItem
.Input.Handled)
1128
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1132
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1136
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1263
if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1265
StylusEventArgs stylusDownEventArgs = args.
StagingItem
.Input as StylusDownEventArgs;
1300
else if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent)
1302
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)
459
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
461
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
677
touchDevice.StoredStagingAreaItems.AddItem(e.
StagingItem
);
978
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
980
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1047
if (e.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1049
StylusEventArgs stylusDownEventArgs = e.
StagingItem
.Input as StylusDownEventArgs;
1140
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
1141
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
1168
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1170
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1250
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1254
StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.
StagingItem
.Input;
1312
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusMoveEvent)
1314
StylusEventArgs stylusMove = (StylusEventArgs)e.
StagingItem
.Input;
1324
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1326
StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.
StagingItem
.Input;
1346
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1348
var stylusArgs = e.
StagingItem
.Input as StylusEventArgs;
1391
e.PushInput(args, e.
StagingItem
);
1399
if (!e.
StagingItem
.Input.Handled)
1401
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1404
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1436
e.PushInput(eventArgsMain, e.
StagingItem
);
1445
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1456
StagingAreaInputItem stagingItem = e.
StagingItem
;
1468
if (e.
StagingItem
.Input.Handled)
1488
else if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1538
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1542
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1546
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1793
if (!e.
StagingItem
.Input.Handled)
1797
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
1798
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
1799
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
1800
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
1813
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1818
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1843
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
1851
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
1854
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1860
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1867
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
2863
if (!e.
StagingItem
.Input.Handled)
2865
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
2871
StylusEventArgs eventArgs = (StylusEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TextCompositionManager.cs (21)
408
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
410
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
449
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
451
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
468
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
470
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
518
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent)
520
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
526
e.PushInput(text, e.
StagingItem
);
531
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent)
533
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
539
e.PushInput(text, e.
StagingItem
);
544
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent)
546
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
552
e.PushInput(text, e.
StagingItem
);
557
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent)
559
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
570
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent)
572
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
588
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
648
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)
987
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
1017
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)
1161
ProcessInput(e.
StagingItem
.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
687
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
690
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
704
OnPreviewTextInput((TextCompositionEventArgs)e.
StagingItem
.Input);
708
OnPreviewKeyDown((KeyEventArgs)e.
StagingItem
.Input);
712
e.
StagingItem
.Input.Handled = true;
719
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
721
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)
530
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
532
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
540
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
1019
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
1021
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
1029
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);