199 references to Input
PresentationCore (168)
System\Windows\Input\AccessKeyManager.cs (5)
209if (e.StagingItem.Input.Handled) return; 211if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 213OnKeyDown((KeyEventArgs)e.StagingItem.Input); 215else if (e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputEvent) 217OnText((TextCompositionEventArgs)e.StagingItem.Input);
System\Windows\Input\Command\CommandDevice.cs (9)
58InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 85if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 87if (!e.StagingItem.Input.Handled) 89InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 95IInputElement commandTarget = e.StagingItem.Input.OriginalSource as IInputElement; 113else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent || 114e.StagingItem.Input.RoutedEvent == Mouse.MouseUpEvent || 115e.StagingItem.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent || 116e.StagingItem.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\InputManager.cs (6)
746InputEventArgs input = item.Input; 860if(item.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 862if(!item.Input.Handled) 864InputReportEventArgs previewInputReport = (InputReportEventArgs) item.Input; 897processInputEventArgs.StagingItem.Input.MarkAsUserInitiated(); 912processInputEventArgs.StagingItem.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (14)
667e.StagingItem.Input.Device = this; 758if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 762KeyEventArgs args = (KeyEventArgs) e.StagingItem.Input; 782else if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 786KeyEventArgs args = (KeyEventArgs) e.StagingItem.Input; 797if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 801if(!e.StagingItem.Input.Handled) 803KeyEventArgs previewKeyDown = (KeyEventArgs) e.StagingItem.Input; 852if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 856if(!e.StagingItem.Input.Handled) 858KeyEventArgs previewKeyUp = (KeyEventArgs) e.StagingItem.Input; 910if(!e.StagingItem.Input.Handled) 963ChangeFocus(null, e.StagingItem.Input.Timestamp); 973InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs;
System\Windows\Input\ManipulationDevice.cs (1)
341InputEventArgs inputEventArgs = e.StagingItem.Input;
System\Windows\Input\MouseDevice.cs (30)
1157if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 1159InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1249ChangeMouseOver(null, e.StagingItem.Input.Timestamp); 1319if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1321MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1335else if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1337MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1380if ( e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent ) 1382InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1455ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1461ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1685ChangeMouseOver(mouseOver, e.StagingItem.Input.Timestamp); 1783if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1785MouseButtonEventArgs mouseButtonArgs = e.StagingItem.Input as MouseButtonEventArgs; 1817if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent) 1819if (!e.StagingItem.Input.Handled) 1821MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.StagingItem.Input; 1836if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1838if (!e.StagingItem.Input.Handled) 1840MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.StagingItem.Input; 1849if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1851if (!e.StagingItem.Input.Handled) 1853MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.StagingItem.Input; 1861if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1863if (!e.StagingItem.Input.Handled) 1865MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1874if (e.StagingItem.Input.RoutedEvent == Mouse.QueryCursorEvent) 1876QueryCursorEventArgs queryCursor = (QueryCursorEventArgs)e.StagingItem.Input; 1882if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1884InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (18)
183if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 185InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 302if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 304InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 346if (e.StagingItem.Input.RoutedEvent == Mouse.LostMouseCaptureEvent || 347e.StagingItem.Input.RoutedEvent == Mouse.GotMouseCaptureEvent) 362if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 364InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1041if (!e.StagingItem.Input.Handled) 1043RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1046StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1087StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1102StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1114if (e.StagingItem.Input.Handled) 1280if (args.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusDownEvent) 1282StylusEventArgs stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs; 1317else if (args.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusSystemGestureEvent) 1319StylusSystemGestureEventArgs stylusGestureEventArgs = args.StagingItem.Input as StylusSystemGestureEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (12)
501if (!e.StagingItem.Input.Handled) 505if ((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)) 521if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 526InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 551MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs; 559e.StagingItem.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) 562if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 568if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 575if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (45)
468if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 470InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 987if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 989InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1056if (e.StagingItem.Input.RoutedEvent == Stylus.PreviewStylusDownEvent) 1058StylusEventArgs stylusDownEventArgs = e.StagingItem.Input as StylusDownEventArgs; 1149if (e.StagingItem.Input.RoutedEvent == Mouse.LostMouseCaptureEvent || 1150e.StagingItem.Input.RoutedEvent == Mouse.GotMouseCaptureEvent) 1177if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1179InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1259if (e.StagingItem.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent) 1263StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.StagingItem.Input; 1321if (e.StagingItem.Input.RoutedEvent == Stylus.StylusMoveEvent) 1323StylusEventArgs stylusMove = (StylusEventArgs)e.StagingItem.Input; 1333if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1335StylusSystemGestureEventArgs stylusSystemGesture = (StylusSystemGestureEventArgs)e.StagingItem.Input; 1355if (e.StagingItem.Input.RoutedEvent == Stylus.StylusOutOfRangeEvent) 1357var stylusArgs = e.StagingItem.Input as StylusEventArgs; 1408if (!e.StagingItem.Input.Handled) 1410RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1413StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1454StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1466StylusEventArgs stylusEventArgs = stagingItem.Input as StylusEventArgs; 1477if (e.StagingItem.Input.Handled) 1497else if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1595storedStagingItems[stagingItemCount - 1].Input.RoutedEvent == Stylus.StylusMoveEvent) 1684InputReportEventArgs inputReportArgs = stagingItem.Input as InputReportEventArgs; 1725if (!stagingItem.Input.Handled) 1727StylusEventArgs stylusArgs = stagingItem.Input as StylusEventArgs; 1742RawMouseActions actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.RoutedEvent, stylusArgs); 1802if (!e.StagingItem.Input.Handled) 1806if ((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)) 1822if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 1827InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 1852MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs; 1860e.StagingItem.Input.RoutedEvent != Mouse.PreviewMouseUpEvent) 1863if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1869if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1876if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 2872if (!e.StagingItem.Input.Handled) 2874RoutedEvent routedEvent = e.StagingItem.Input.RoutedEvent; 2880StylusEventArgs eventArgs = (StylusEventArgs)e.StagingItem.Input;
System\Windows\Input\TextCompositionManager.cs (18)
424if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 426KeyEventArgs keyArgs = (KeyEventArgs) e.StagingItem.Input; 465if (e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent) 467KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input; 484if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 486KeyEventArgs keyArgs = (KeyEventArgs) e.StagingItem.Input; 534else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputStartEvent) 536TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 547else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent) 549TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 560else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent) 562TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 573else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputStartEvent) 575TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 586else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.TextInputUpdateEvent) 588TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 604InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 664TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
System\Windows\Input\TextServicesManager.cs (9)
125if(e.StagingItem.Input.RoutedEvent != Keyboard.PreviewKeyDownEvent && 126e.StagingItem.Input.RoutedEvent != Keyboard.PreviewKeyUpEvent) 147keyArgs = (KeyEventArgs)e.StagingItem.Input; 183if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyDownEvent || 184e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 190keyArgs = (KeyEventArgs)e.StagingItem.Input; 205else if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent || 206e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 208keyArgs = (KeyEventArgs)e.StagingItem.Input;
System\Windows\Input\TouchDevice.cs (1)
999InputEventArgs inputEventArgs = e.StagingItem.Input;
PresentationFramework (14)
System\Windows\Controls\PopupControlService.cs (13)
47if (e.StagingItem.Input.RoutedEvent == InputManager.InputReportEvent) 49InputReportEventArgs report = (InputReportEventArgs)e.StagingItem.Input; 116else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 118ProcessKeyDown(sender, (KeyEventArgs)e.StagingItem.Input); 120else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyUpEvent) 122ProcessKeyUp(sender, (KeyEventArgs)e.StagingItem.Input); 124else if (e.StagingItem.Input.RoutedEvent == Mouse.MouseUpEvent) 126ProcessMouseUp(sender, (MouseButtonEventArgs)e.StagingItem.Input); 128else if (e.StagingItem.Input.RoutedEvent == Mouse.MouseDownEvent) 132else if (e.StagingItem.Input.RoutedEvent == Keyboard.GotKeyboardFocusEvent) 134ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 136else if (e.StagingItem.Input.RoutedEvent == Keyboard.LostKeyboardFocusEvent) 138ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input);
System\Windows\Input\KeyboardNavigation.cs (1)
1171ProcessInput(e.StagingItem.Input);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\KeyTipService.cs (7)
689RoutedEvent routedEvent = e.StagingItem.Input.RoutedEvent; 692KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input; 706OnPreviewTextInput((TextCompositionEventArgs)e.StagingItem.Input); 710OnPreviewKeyDown((KeyEventArgs)e.StagingItem.Input); 714e.StagingItem.Input.Handled = true; 721if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 723KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input;
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (2)
36if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent) 38KeyEventArgs keyArgs = (KeyEventArgs)e.StagingItem.Input;
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHost.cs (4)
533if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent) 535SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.StagingItem.Input; 543e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (4)
1021if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent) 1023SWI.TextCompositionEventArgs te = (SWI.TextCompositionEventArgs)e.StagingItem.Input; 1031e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);