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)
902
processInputEventArgs.
StagingItem
.Input.MarkAsUserInitiated();
917
processInputEventArgs.
StagingItem
.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
701
e.
StagingItem
.Input.Device = this;
760
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
764
e.
StagingItem
.SetData(_tagKey, key);
765
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
777
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
781
e.
StagingItem
.SetData(_tagKey, key);
782
e.
StagingItem
.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey));
792
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
796
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
816
else if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
820
KeyEventArgs args = (KeyEventArgs) e.
StagingItem
.Input;
831
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent)
835
if(!e.
StagingItem
.Input.Handled)
837
KeyEventArgs previewKeyDown = (KeyEventArgs) e.
StagingItem
.Input;
881
e.PushInput(keyDown, e.
StagingItem
);
886
if(e.
StagingItem
.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent)
890
if(!e.
StagingItem
.Input.Handled)
892
KeyEventArgs previewKeyUp = (KeyEventArgs) e.
StagingItem
.Input;
935
e.PushInput(keyUp, e.
StagingItem
);
944
if(!e.
StagingItem
.Input.Handled)
953
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
957
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
965
e.PushInput(previewKeyDown, e.
StagingItem
);
972
Key key = (Key) e.
StagingItem
.GetData(_tagKey);
976
ScanCode scanCode = (ScanCode)e.
StagingItem
.GetData(_tagScanCode);
984
e.PushInput(previewKeyUp, e.
StagingItem
);
997
ChangeFocus(null, e.
StagingItem
.Input.Timestamp);
1007
InputReportEventArgs input = e.
StagingItem
.Input as InputReportEventArgs;
1025
object o = e.
StagingItem
.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
341
InputEventArgs inputEventArgs = e.
StagingItem
.Input;
System\Windows\Input\MouseDevice.cs (71)
1180
if (e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent)
1182
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1227
InputDevice inputDevice = e.
StagingItem
.GetData(_tagStylusDevice) as StylusDevice;
1251
e.
StagingItem
.SetData(_tagStylusDevice, inputDevice);
1269
e.PushInput(e.
StagingItem
);
1272
ChangeMouseOver(null, e.
StagingItem
.Input.Timestamp);
1325
e.
StagingItem
.SetData(_tagRootPoint, ptRoot);
1342
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1344
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1351
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
));
1358
else if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1360
MouseButtonEventArgs mouseButtonEventArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1367
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.
StagingItem
));
1403
if ( e.
StagingItem
.Input.RoutedEvent == InputManager.PreviewInputReportEvent )
1405
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1424
_stylusDevice = GetStylusDevice(e.
StagingItem
);
1478
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1484
ChangeMouseCapture(null, null, CaptureMode.None, e.
StagingItem
.Input.Timestamp);
1498
Point ptRoot = (Point) e.
StagingItem
.GetData(_tagRootPoint);
1708
ChangeMouseOver(mouseOver, e.
StagingItem
.Input.Timestamp);
1793
e.
StagingItem
.SetData(_tagNonRedundantActions, actions);
1806
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1808
MouseButtonEventArgs mouseButtonArgs = e.
StagingItem
.Input as MouseButtonEventArgs;
1809
StylusDevice stylusDevice = GetStylusDevice(e.
StagingItem
);
1840
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent)
1842
if (!e.
StagingItem
.Input.Handled)
1844
MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.
StagingItem
.Input;
1854
e.PushInput(wheel, e.
StagingItem
);
1859
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseDownEvent)
1861
if (!e.
StagingItem
.Input.Handled)
1863
MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.
StagingItem
.Input;
1864
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.
StagingItem
));
1867
e.PushInput(down, e.
StagingItem
);
1872
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
1874
if (!e.
StagingItem
.Input.Handled)
1876
MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.
StagingItem
.Input;
1877
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.
StagingItem
));
1879
e.PushInput(up, e.
StagingItem
);
1884
if (e.
StagingItem
.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent)
1886
if (!e.
StagingItem
.Input.Handled)
1888
MouseEventArgs previewMove = (MouseEventArgs) e.
StagingItem
.Input;
1889
MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.
StagingItem
));
1891
e.PushInput(move, e.
StagingItem
);
1897
if (e.
StagingItem
.Input.RoutedEvent == Mouse.QueryCursorEvent)
1899
QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.
StagingItem
.Input;
1905
if (e.
StagingItem
.Input.RoutedEvent == InputManager.InputReportEvent)
1907
InputReportEventArgs inputReportEventArgs = e.
StagingItem
.Input as InputReportEventArgs;
1949
e.PushInput(previewWheel, e.
StagingItem
);
1955
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1958
e.PushInput(previewDown, e.
StagingItem
);
1964
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.
StagingItem
));
1967
e.PushInput(previewUp, e.
StagingItem
);
1973
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1976
e.PushInput(previewDown, e.
StagingItem
);
1982
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.
StagingItem
));
1985
e.PushInput(previewUp, e.
StagingItem
);
1991
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
1994
e.PushInput(previewDown, e.
StagingItem
);
2000
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.
StagingItem
));
2003
e.PushInput(previewUp, e.
StagingItem
);
2009
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
2012
e.PushInput(previewDown, e.
StagingItem
);
2018
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.
StagingItem
));
2021
e.PushInput(previewUp, e.
StagingItem
);
2027
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
2030
e.PushInput(previewDown, e.
StagingItem
);
2036
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.
StagingItem
));
2039
e.PushInput(previewUp, e.
StagingItem
);
2046
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)
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]);