199 references to Input
PresentationCore (168)
System\Windows\Input\AccessKeyManager.cs (5)
197if (e.StagingItem.Input.Handled) return; 199if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 201OnKeyDown((KeyEventArgs)e.StagingItem.Input); 203else if (e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputEvent) 205OnText((TextCompositionEventArgs)e.StagingItem.Input);
System\Windows\Input\Command\CommandDevice.cs (9)
51InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 78if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 80if (!e.StagingItem.Input.Handled) 82InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 88IInputElement commandTarget = e.StagingItem.Input.OriginalSource as IInputElement; 106else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent || 107e.StagingItem.Input.RoutedEvent == Mouse.MouseUpEvent || 108e.StagingItem.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent || 109e.StagingItem.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (6)
738InputEventArgs input = item.Input; 852if(item.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 854if(!item.Input.Handled) 856InputReportEventArgs previewInputReport = (InputReportEventArgs) item.Input; 889processInputEventArgs.StagingItem.Input.MarkAsUserInitiated(); 904processInputEventArgs.StagingItem.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (14)
658e.StagingItem.Input.Device = this; 749if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 753KeyEventArgs args = (KeyEventArgs) e.StagingItem.Input; 773else if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 777KeyEventArgs args = (KeyEventArgs) e.StagingItem.Input; 788if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 792if(!e.StagingItem.Input.Handled) 794KeyEventArgs previewKeyDown = (KeyEventArgs) e.StagingItem.Input; 843if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 847if(!e.StagingItem.Input.Handled) 849KeyEventArgs previewKeyUp = (KeyEventArgs) e.StagingItem.Input; 901if(!e.StagingItem.Input.Handled) 954ChangeFocus(null, e.StagingItem.Input.Timestamp); 964InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs;
System\Windows\Input\ManipulationDevice.cs (1)
332InputEventArgs inputEventArgs = e.StagingItem.Input;
System\Windows\Input\MouseDevice.cs (30)
1148if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 1150InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1240ChangeMouseOver(null, e.StagingItem.Input.Timestamp); 1310if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1312MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1326else if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1328MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1371if ( e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent ) 1373InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1446ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1452ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1676ChangeMouseOver(mouseOver, e.StagingItem.Input.Timestamp); 1774if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1776MouseButtonEventArgs mouseButtonArgs = e.StagingItem.Input as MouseButtonEventArgs; 1808if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent) 1810if (!e.StagingItem.Input.Handled) 1812MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.StagingItem.Input; 1827if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1829if (!e.StagingItem.Input.Handled) 1831MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.StagingItem.Input; 1840if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1842if (!e.StagingItem.Input.Handled) 1844MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.StagingItem.Input; 1852if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1854if (!e.StagingItem.Input.Handled) 1856MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1865if (e.StagingItem.Input.RoutedEvent == Mouse.QueryCursorEvent) 1867QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.StagingItem.Input; 1873if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1875InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (18)
166if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 168InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 285if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 287InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 329if (e.StagingItem.Input.RoutedEvent == Mouse.LostMouseCaptureEvent || 330e.StagingItem.Input.RoutedEvent == Mouse.GotMouseCaptureEvent) 345if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 347InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1024if (!e.StagingItem.Input.Handled) 1026RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1029StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1070StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1085StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1097if (e.StagingItem.Input.Handled) 1263if (args.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusDownEvent) 1265StylusEventArgs stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs; 1300else if (args.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent) 1302StylusSystemGestureEventArgs stylusGestureEventArgs = args.StagingItem.Input as StylusSystemGestureEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (12)
489if (!e.StagingItem.Input.Handled) 493if ((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)) 509if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 514InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 539MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs; 547e.StagingItem.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) 550if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 556if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 563if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (45)
459if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 461InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 978if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 980InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1047if (e.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusDownEvent) 1049StylusEventArgs stylusDownEventArgs = e.StagingItem.Input as StylusDownEventArgs; 1140if (e.StagingItem.Input.RoutedEvent == Mouse.LostMouseCaptureEvent || 1141e.StagingItem.Input.RoutedEvent == Mouse.GotMouseCaptureEvent) 1168if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1170InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1250if (e.StagingItem.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent) 1254StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.StagingItem.Input; 1312if (e.StagingItem.Input.RoutedEvent == Stylus.StylusMoveEvent) 1314StylusEventArgs stylusMove = (StylusEventArgs)e.StagingItem.Input; 1324if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1326StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.StagingItem.Input; 1346if (e.StagingItem.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent) 1348var stylusArgs = e.StagingItem.Input as StylusEventArgs; 1399if (!e.StagingItem.Input.Handled) 1401RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1404StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1445StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1457StylusEventArgs stylusEventArgs = stagingItem.Input as StylusEventArgs; 1468if (e.StagingItem.Input.Handled) 1488else if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1586storedStagingItems[stagingItemCount - 1].Input.RoutedEvent == Stylus.StylusMoveEvent) 1675InputReportEventArgs inputReportArgs = stagingItem.Input as InputReportEventArgs; 1716if (!stagingItem.Input.Handled) 1718StylusEventArgs stylusArgs = stagingItem.Input as StylusEventArgs; 1733RawMouseActions actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.RoutedEvent, stylusArgs); 1793if (!e.StagingItem.Input.Handled) 1797if ((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)) 1813if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1818InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1843MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs; 1851e.StagingItem.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) 1854if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1860if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1867if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 2863if (!e.StagingItem.Input.Handled) 2865RoutedEvent routedEvent = e.StagingItem.Input.RoutedEvent; 2871StylusEventArgs eventArgs = (StylusEventArgs)e.StagingItem.Input;
System\Windows\Input\TextCompositionManager.cs (18)
408if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 410KeyEventArgs keyArgs = (KeyEventArgs) e.StagingItem.Input; 449if (e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 451KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input; 468if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 470KeyEventArgs keyArgs = (KeyEventArgs) e.StagingItem.Input; 518else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent) 520TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 531else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent) 533TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 544else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent) 546TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 557else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent) 559TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 570else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent) 572TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 588InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 648TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TextServicesManager.cs (9)
122if(e.StagingItem.Input.RoutedEvent != Keyboard.PreviewKeyDownEvent && 123e.StagingItem.Input.RoutedEvent != Keyboard.PreviewKeyUpEvent) 144keyArgs = (KeyEventArgs)e.StagingItem.Input; 180if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent || 181e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 187keyArgs = (KeyEventArgs)e.StagingItem.Input; 202else if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent || 203e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 205keyArgs = (KeyEventArgs)e.StagingItem.Input;
System\Windows\Input\TouchDevice.cs (1)
987InputEventArgs inputEventArgs = e.StagingItem.Input;
PresentationFramework (14)
System\Windows\Controls\PopupControlService.cs (13)
37if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 39InputReportEventArgs report = (InputReportEventArgs)e.StagingItem.Input; 106else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 108ProcessKeyDown(sender, (KeyEventArgs)e.StagingItem.Input); 110else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 112ProcessKeyUp(sender, (KeyEventArgs)e.StagingItem.Input); 114else if (e.StagingItem.Input.RoutedEvent == Mouse.MouseUpEvent) 116ProcessMouseUp(sender, (MouseButtonEventArgs)e.StagingItem.Input); 118else if (e.StagingItem.Input.RoutedEvent == Mouse.MouseDownEvent) 122else if (e.StagingItem.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent) 124ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 126else if (e.StagingItem.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent) 128ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input);
System\Windows\Input\KeyboardNavigation.cs (1)
1161ProcessInput(e.StagingItem.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
687RoutedEvent routedEvent = e.StagingItem.Input.RoutedEvent; 690KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input; 704OnPreviewTextInput((TextCompositionEventArgs)e.StagingItem.Input); 708OnPreviewKeyDown((KeyEventArgs)e.StagingItem.Input); 712e.StagingItem.Input.Handled = true; 719if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 721KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input;
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (2)
35if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 37KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input;
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHost.cs (4)
530if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent) 532SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.StagingItem.Input; 540e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
1019if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent) 1021SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.StagingItem.Input; 1029e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);