262 references to StagingItem
PresentationCore (231)
System\Windows\Input\AccessKeyManager.cs (5)
209
if (e.
StagingItem
.Input.Handled) return;
211
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
213
OnKeyDown((KeyEventArgs)e.
StagingItem
.Input);
215
else if (e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputEvent)
217
OnText((TextCompositionEventArgs)e.
StagingItem
.Input);
System\Windows\Input\Command\CommandDevice.cs (10)
58
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
85
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
87
if (!e.
StagingItem
.Input.Handled)
89
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
95
IInputElement commandTarget = e.
StagingItem
.Input.OriginalSource as IInputElement;
106
e.PushInput(args, e.
StagingItem
);
113
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent ||
114
e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent ||
115
e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent ||
116
e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (2)
897
processInputEventArgs.
StagingItem
.Input.MarkAsUserInitiated();
912
processInputEventArgs.
StagingItem
.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
667
e.
StagingItem
.Input.Device = this;
726
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
730
e.
StagingItem
.SetData(_tagKey, key);
731
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
743
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
747
e.
StagingItem
.SetData(_tagKey, key);
748
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
758
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
762
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
782
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
786
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
797
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
801
if(!e.
StagingItem
.Input.Handled)
803
KeyEventArgs previewKeyDown = (KeyEventArgs) e.
StagingItem
.Input;
847
e.PushInput(keyDown, e.
StagingItem
);
852
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
856
if(!e.
StagingItem
.Input.Handled)
858
KeyEventArgs previewKeyUp = (KeyEventArgs) e.
StagingItem
.Input;
901
e.PushInput(keyUp, e.
StagingItem
);
910
if(!e.
StagingItem
.Input.Handled)
919
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
923
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
931
e.PushInput(previewKeyDown, e.
StagingItem
);
938
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
942
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
950
e.PushInput(previewKeyUp, e.
StagingItem
);
963
ChangeFocus(null, e.
StagingItem
.Input.Timestamp);
973
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
991
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
341
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
System\Windows\Input\MouseDevice.cs (71)
1157
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
1159
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1204
InputDevice inputDevice = e.
StagingItem
.GetData(_tagStylusDevice) as StylusDevice;
1228
e.
StagingItem
.SetData(_tagStylusDevice, inputDevice);
1246
e.PushInput(e.
StagingItem
);
1249
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
));
1335
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1337
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1344
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
));
1380
if ( e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent )
1382
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1401
_stylusDevice = GetStylusDevice(e.
StagingItem
);
1455
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1461
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1475
Point ptRoot = (Point) e.
StagingItem
.GetData(_tagRootPoint);
1685
ChangeMouseOver(mouseOver, e.
StagingItem
.Input.Timestamp);
1770
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
1783
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1785
MouseButtonEventArgs mouseButtonArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1786
StylusDevice stylusDevice = GetStylusDevice(e.
StagingItem
);
1817
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent)
1819
if (!e.
StagingItem
.Input.Handled)
1821
MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.
StagingItem
.Input;
1831
e.PushInput(wheel, e.
StagingItem
);
1836
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1838
if (!e.
StagingItem
.Input.Handled)
1840
MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.
StagingItem
.Input;
1841
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.
StagingItem
));
1844
e.PushInput(down, e.
StagingItem
);
1849
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1851
if (!e.
StagingItem
.Input.Handled)
1853
MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.
StagingItem
.Input;
1854
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.
StagingItem
));
1856
e.PushInput(up, e.
StagingItem
);
1861
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1863
if (!e.
StagingItem
.Input.Handled)
1865
MouseEventArgs previewMove = (MouseEventArgs) e.
StagingItem
.Input;
1866
MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.
StagingItem
));
1868
e.PushInput(move, e.
StagingItem
);
1874
if (e.
StagingItem
.Input.RoutedEvent == Mouse.QueryCursorEvent)
1876
QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.
StagingItem
.Input;
1882
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1884
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1926
e.PushInput(previewWheel, e.
StagingItem
);
1932
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1935
e.PushInput(previewDown, e.
StagingItem
);
1941
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1944
e.PushInput(previewUp, e.
StagingItem
);
1950
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1953
e.PushInput(previewDown, e.
StagingItem
);
1959
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1962
e.PushInput(previewUp, e.
StagingItem
);
1968
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
1971
e.PushInput(previewDown, e.
StagingItem
);
1977
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
1980
e.PushInput(previewUp, e.
StagingItem
);
1986
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
1989
e.PushInput(previewDown, e.
StagingItem
);
1995
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
1998
e.PushInput(previewUp, e.
StagingItem
);
2004
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
2007
e.PushInput(previewDown, e.
StagingItem
);
2013
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
2016
e.PushInput(previewUp, e.
StagingItem
);
2023
MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.
StagingItem
));
2026
e.PushInput(previewMove, e.
StagingItem
);
2045
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (23)
183
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
185
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
302
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
304
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
346
if (e.
StagingItem
.Input.RoutedEvent == Mouse.LostMouseCaptureEvent ||
347
e.
StagingItem
.Input.RoutedEvent == Mouse.GotMouseCaptureEvent)
362
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
364
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1032
e.PushInput(args, e.
StagingItem
);
1041
if (!e.
StagingItem
.Input.Handled)
1043
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1046
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1078
e.PushInput(eventArgsMain, e.
StagingItem
);
1087
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1102
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1114
if (e.
StagingItem
.Input.Handled)
1145
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1149
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1153
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1280
if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusDownEvent)
1282
StylusEventArgs stylusDownEventArgs = args.
StagingItem
.Input as StylusDownEventArgs;
1317
else if (args.
StagingItem
.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent)
1319
StylusSystemGestureEventArgs stylusGestureEventArgs = args.
StagingItem
.Input as StylusSystemGestureEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (12)
501
if (!e.
StagingItem
.Input.Handled)
505
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
506
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
507
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
508
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
521
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
526
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
551
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
559
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
562
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
568
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
575
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (46)
468
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
470
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;
1321
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusMoveEvent)
1323
StylusEventArgs stylusMove = (StylusEventArgs)e.
StagingItem
.Input;
1333
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1335
StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.
StagingItem
.Input;
1355
if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent)
1357
var stylusArgs = e.
StagingItem
.Input as StylusEventArgs;
1400
e.PushInput(args, e.
StagingItem
);
1408
if (!e.
StagingItem
.Input.Handled)
1410
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.
StagingItem
.Input.RoutedEvent);
1413
StylusEventArgs eventArgsPreview = (StylusEventArgs)e.
StagingItem
.Input;
1445
e.PushInput(eventArgsMain, e.
StagingItem
);
1454
StylusEventArgs stylusEventArgs = e.
StagingItem
.Input as StylusEventArgs;
1465
StagingAreaInputItem stagingItem = e.
StagingItem
;
1477
if (e.
StagingItem
.Input.Handled)
1497
else if (e.
StagingItem
.Input.RoutedEvent == Stylus.StylusSystemGestureEvent)
1547
PromoteMainMoveToTouch(stylusDevice, e.
StagingItem
);
1551
PromoteMainDownToTouch(stylusDevice, e.
StagingItem
);
1555
PromoteMainUpToTouch(stylusDevice, e.
StagingItem
);
1802
if (!e.
StagingItem
.Input.Handled)
1806
if ((e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseDownEvent) &&
1807
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) &&
1808
(e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseMoveEvent) &&
1809
(e.
StagingItem
.Input.RoutedEvent != InputManager.InputReportEvent))
1822
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1827
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1852
MouseEventArgs mouseEventArgs = e.
StagingItem
.Input as MouseEventArgs;
1860
e.
StagingItem
.Input.RoutedEvent != Mouse.PreviewMouseUpEvent)
1863
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1869
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1876
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
2872
if (!e.
StagingItem
.Input.Handled)
2874
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
2880
StylusEventArgs eventArgs = (StylusEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TextCompositionManager.cs (21)
424
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
426
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
465
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
467
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
484
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
486
KeyEventArgs keyArgs = (KeyEventArgs) e.
StagingItem
.Input;
534
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent)
536
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
542
e.PushInput(text, e.
StagingItem
);
547
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent)
549
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
555
e.PushInput(text, e.
StagingItem
);
560
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent)
562
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
568
e.PushInput(text, e.
StagingItem
);
573
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent)
575
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
586
else if(e.
StagingItem
.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent)
588
TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.
StagingItem
.Input;
604
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
664
TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.
StagingItem
.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TextServicesManager.cs (9)
125
if(e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyDownEvent &&
126
e.
StagingItem
.Input.RoutedEvent != Keyboard.PreviewKeyUpEvent)
147
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
183
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent ||
184
e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
190
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
205
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent ||
206
e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
208
keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
System\Windows\Input\TouchDevice.cs (2)
999
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
1029
e.PushInput(promotedTouchEventArgs, e.
StagingItem
);
PresentationFramework (14)
System\Windows\Controls\PopupControlService.cs (13)
47
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
49
InputReportEventArgs report = (InputReportEventArgs)e.
StagingItem
.Input;
116
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
118
ProcessKeyDown(sender, (KeyEventArgs)e.
StagingItem
.Input);
120
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyUpEvent)
122
ProcessKeyUp(sender, (KeyEventArgs)e.
StagingItem
.Input);
124
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseUpEvent)
126
ProcessMouseUp(sender, (MouseButtonEventArgs)e.
StagingItem
.Input);
128
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.MouseDownEvent)
132
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent)
134
ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
136
else if (e.
StagingItem
.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
138
ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.
StagingItem
.Input);
System\Windows\Input\KeyboardNavigation.cs (1)
1171
ProcessInput(e.
StagingItem
.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
689
RoutedEvent routedEvent = e.
StagingItem
.Input.RoutedEvent;
692
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
706
OnPreviewTextInput((TextCompositionEventArgs)e.
StagingItem
.Input);
710
OnPreviewKeyDown((KeyEventArgs)e.
StagingItem
.Input);
714
e.
StagingItem
.Input.Handled = true;
721
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
723
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (2)
36
if (e.
StagingItem
.Input.RoutedEvent == Keyboard.KeyDownEvent)
38
KeyEventArgs keyArgs = (KeyEventArgs)e.
StagingItem
.Input;
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHost.cs (4)
533
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
535
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
543
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
1021
if (!e.
StagingItem
.Input.Handled && e.
StagingItem
.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
1023
SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.
StagingItem
.Input;
1031
e.
StagingItem
.Input.Handled = this.ProcessDialogChar(text[0]);