262 references to StagingItem
PresentationCore (231)
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 (10)
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; 99e.PushInput(args, e.StagingItem); 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 (2)
889processInputEventArgs.StagingItem.Input.MarkAsUserInitiated(); 904processInputEventArgs.StagingItem.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
658e.StagingItem.Input.Device = this; 717e.StagingItem.SetData(_tagNonRedundantActions, actions); 721e.StagingItem.SetData(_tagKey, key); 722e.StagingItem.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey)); 734e.StagingItem.SetData(_tagNonRedundantActions, actions); 738e.StagingItem.SetData(_tagKey, key); 739e.StagingItem.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey)); 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; 838e.PushInput(keyDown, e.StagingItem); 843if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 847if(!e.StagingItem.Input.Handled) 849KeyEventArgs previewKeyUp = (KeyEventArgs) e.StagingItem.Input; 892e.PushInput(keyUp, e.StagingItem); 901if(!e.StagingItem.Input.Handled) 910Key key = (Key) e.StagingItem.GetData(_tagKey); 914ScanCode scanCode = (ScanCode)e.StagingItem.GetData(_tagScanCode); 922e.PushInput(previewKeyDown, e.StagingItem); 929Key key = (Key) e.StagingItem.GetData(_tagKey); 933ScanCode scanCode = (ScanCode)e.StagingItem.GetData(_tagScanCode); 941e.PushInput(previewKeyUp, e.StagingItem); 954ChangeFocus(null, e.StagingItem.Input.Timestamp); 964InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 982object o = e.StagingItem.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
332InputEventArgs inputEventArgs = e.StagingItem.Input;
System\Windows\Input\MouseDevice.cs (71)
1148if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 1150InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1195InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1219e.StagingItem.SetData(_tagStylusDevice, inputDevice); 1237e.PushInput(e.StagingItem); 1240ChangeMouseOver(null, e.StagingItem.Input.Timestamp); 1293e.StagingItem.SetData(_tagRootPoint, ptRoot); 1310if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1312MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1319MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1326else if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1328MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1335MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1371if ( e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent ) 1373InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1392_stylusDevice = GetStylusDevice(e.StagingItem); 1446ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1452ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1466Point ptRoot = (Point) e.StagingItem.GetData(_tagRootPoint); 1676ChangeMouseOver(mouseOver, e.StagingItem.Input.Timestamp); 1761e.StagingItem.SetData(_tagNonRedundantActions, actions); 1774if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1776MouseButtonEventArgs mouseButtonArgs = e.StagingItem.Input as MouseButtonEventArgs; 1777StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 1808if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent) 1810if (!e.StagingItem.Input.Handled) 1812MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.StagingItem.Input; 1822e.PushInput(wheel, e.StagingItem); 1827if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1829if (!e.StagingItem.Input.Handled) 1831MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.StagingItem.Input; 1832MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.StagingItem)); 1835e.PushInput(down, e.StagingItem); 1840if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1842if (!e.StagingItem.Input.Handled) 1844MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.StagingItem.Input; 1845MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.StagingItem)); 1847e.PushInput(up, e.StagingItem); 1852if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1854if (!e.StagingItem.Input.Handled) 1856MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1857MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 1859e.PushInput(move, e.StagingItem); 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; 1917e.PushInput(previewWheel, e.StagingItem); 1923MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.StagingItem)); 1926e.PushInput(previewDown, e.StagingItem); 1932MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.StagingItem)); 1935e.PushInput(previewUp, e.StagingItem); 1941MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.StagingItem)); 1944e.PushInput(previewDown, e.StagingItem); 1950MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.StagingItem)); 1953e.PushInput(previewUp, e.StagingItem); 1959MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.StagingItem)); 1962e.PushInput(previewDown, e.StagingItem); 1968MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.StagingItem)); 1971e.PushInput(previewUp, e.StagingItem); 1977MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.StagingItem)); 1980e.PushInput(previewDown, e.StagingItem); 1986MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.StagingItem)); 1989e.PushInput(previewUp, e.StagingItem); 1995MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.StagingItem)); 1998e.PushInput(previewDown, e.StagingItem); 2004MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.StagingItem)); 2007e.PushInput(previewUp, e.StagingItem); 2014MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem)); 2017e.PushInput(previewMove, e.StagingItem); 2036object o = e.StagingItem.GetData(_tagNonRedundantActions);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (23)
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; 1015e.PushInput(args, e.StagingItem); 1024if (!e.StagingItem.Input.Handled) 1026RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1029StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1061e.PushInput(eventArgsMain, e.StagingItem); 1070StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1085StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1097if (e.StagingItem.Input.Handled) 1128PromoteMainMoveToTouch(stylusDevice, e.StagingItem); 1132PromoteMainDownToTouch(stylusDevice, e.StagingItem); 1136PromoteMainUpToTouch(stylusDevice, e.StagingItem); 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 (46)
459if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 461InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 677touchDevice.StoredStagingAreaItems.AddItem(e.StagingItem); 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; 1391e.PushInput(args, e.StagingItem); 1399if (!e.StagingItem.Input.Handled) 1401RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1404StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1436e.PushInput(eventArgsMain, e.StagingItem); 1445StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1456StagingAreaInputItem stagingItem = e.StagingItem; 1468if (e.StagingItem.Input.Handled) 1488else if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1538PromoteMainMoveToTouch(stylusDevice, e.StagingItem); 1542PromoteMainDownToTouch(stylusDevice, e.StagingItem); 1546PromoteMainUpToTouch(stylusDevice, e.StagingItem); 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 (21)
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; 526e.PushInput(text, e.StagingItem); 531else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent) 533TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 539e.PushInput(text, e.StagingItem); 544else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent) 546TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 552e.PushInput(text, e.StagingItem); 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 (2)
987InputEventArgs inputEventArgs = e.StagingItem.Input; 1017e.PushInput(promotedTouchEventArgs, e.StagingItem);
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]);