262 references to StagingItem
PresentationCore (231)
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 (10)
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; 106e.PushInput(args, e.StagingItem); 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 (2)
897processInputEventArgs.StagingItem.Input.MarkAsUserInitiated(); 912processInputEventArgs.StagingItem.Input.ClearUserInitiated();
System\Windows\Input\KeyboardDevice.cs (29)
667e.StagingItem.Input.Device = this; 726e.StagingItem.SetData(_tagNonRedundantActions, actions); 730e.StagingItem.SetData(_tagKey, key); 731e.StagingItem.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey)); 743e.StagingItem.SetData(_tagNonRedundantActions, actions); 747e.StagingItem.SetData(_tagKey, key); 748e.StagingItem.SetData(_tagScanCode, new ScanCode(keyboardInput.ScanCode, keyboardInput.IsExtendedKey)); 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; 847e.PushInput(keyDown, e.StagingItem); 852if(e.StagingItem.Input.RoutedEvent == Keyboard.PreviewKeyUpEvent) 856if(!e.StagingItem.Input.Handled) 858KeyEventArgs previewKeyUp = (KeyEventArgs) e.StagingItem.Input; 901e.PushInput(keyUp, e.StagingItem); 910if(!e.StagingItem.Input.Handled) 919Key key = (Key) e.StagingItem.GetData(_tagKey); 923ScanCode scanCode = (ScanCode)e.StagingItem.GetData(_tagScanCode); 931e.PushInput(previewKeyDown, e.StagingItem); 938Key key = (Key) e.StagingItem.GetData(_tagKey); 942ScanCode scanCode = (ScanCode)e.StagingItem.GetData(_tagScanCode); 950e.PushInput(previewKeyUp, e.StagingItem); 963ChangeFocus(null, e.StagingItem.Input.Timestamp); 973InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 991object o = e.StagingItem.GetData(_tagNonRedundantActions);
System\Windows\Input\ManipulationDevice.cs (1)
341InputEventArgs inputEventArgs = e.StagingItem.Input;
System\Windows\Input\MouseDevice.cs (71)
1157if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 1159InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1204InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as StylusDevice; 1228e.StagingItem.SetData(_tagStylusDevice, inputDevice); 1246e.PushInput(e.StagingItem); 1249ChangeMouseOver(null, e.StagingItem.Input.Timestamp); 1302e.StagingItem.SetData(_tagRootPoint, ptRoot); 1319if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1321MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1328MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1335else if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1337MouseButtonEventArgs mouseButtonEventArgs = e.StagingItem.Input as MouseButtonEventArgs; 1344MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1380if ( e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent ) 1382InputReportEventArgs inputReportEventArgs = e.StagingItem.Input as InputReportEventArgs; 1401_stylusDevice = GetStylusDevice(e.StagingItem); 1455ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1461ChangeMouseCapture(null, null, CaptureMode.None, e.StagingItem.Input.Timestamp); 1475Point ptRoot = (Point) e.StagingItem.GetData(_tagRootPoint); 1685ChangeMouseOver(mouseOver, e.StagingItem.Input.Timestamp); 1770e.StagingItem.SetData(_tagNonRedundantActions, actions); 1783if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1785MouseButtonEventArgs mouseButtonArgs = e.StagingItem.Input as MouseButtonEventArgs; 1786StylusDevice stylusDevice = GetStylusDevice(e.StagingItem); 1817if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseWheelEvent) 1819if (!e.StagingItem.Input.Handled) 1821MouseWheelEventArgs previewWheel = (MouseWheelEventArgs) e.StagingItem.Input; 1831e.PushInput(wheel, e.StagingItem); 1836if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1838if (!e.StagingItem.Input.Handled) 1840MouseButtonEventArgs previewDown = (MouseButtonEventArgs) e.StagingItem.Input; 1841MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.StagingItem)); 1844e.PushInput(down, e.StagingItem); 1849if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseUpEvent) 1851if (!e.StagingItem.Input.Handled) 1853MouseButtonEventArgs previewUp = (MouseButtonEventArgs) e.StagingItem.Input; 1854MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.StagingItem)); 1856e.PushInput(up, e.StagingItem); 1861if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseMoveEvent) 1863if (!e.StagingItem.Input.Handled) 1865MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1866MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 1868e.PushInput(move, e.StagingItem); 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; 1926e.PushInput(previewWheel, e.StagingItem); 1932MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.StagingItem)); 1935e.PushInput(previewDown, e.StagingItem); 1941MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Left, GetStylusDevice(e.StagingItem)); 1944e.PushInput(previewUp, e.StagingItem); 1950MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.StagingItem)); 1953e.PushInput(previewDown, e.StagingItem); 1959MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Right, GetStylusDevice(e.StagingItem)); 1962e.PushInput(previewUp, e.StagingItem); 1968MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.StagingItem)); 1971e.PushInput(previewDown, e.StagingItem); 1977MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.Middle, GetStylusDevice(e.StagingItem)); 1980e.PushInput(previewUp, e.StagingItem); 1986MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.StagingItem)); 1989e.PushInput(previewDown, e.StagingItem); 1995MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton1, GetStylusDevice(e.StagingItem)); 1998e.PushInput(previewUp, e.StagingItem); 2004MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.StagingItem)); 2007e.PushInput(previewDown, e.StagingItem); 2013MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.XButton2, GetStylusDevice(e.StagingItem)); 2016e.PushInput(previewUp, e.StagingItem); 2023MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem)); 2026e.PushInput(previewMove, e.StagingItem); 2045object o = e.StagingItem.GetData(_tagNonRedundantActions);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (23)
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; 1032e.PushInput(args, e.StagingItem); 1041if (!e.StagingItem.Input.Handled) 1043RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1046StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1078e.PushInput(eventArgsMain, e.StagingItem); 1087StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1102StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1114if (e.StagingItem.Input.Handled) 1145PromoteMainMoveToTouch(stylusDevice, e.StagingItem); 1149PromoteMainDownToTouch(stylusDevice, e.StagingItem); 1153PromoteMainUpToTouch(stylusDevice, e.StagingItem); 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 (46)
468if (e.StagingItem.Input.RoutedEvent == InputManager.PreviewInputReportEvent) 470InputReportEventArgs input = e.StagingItem.Input as InputReportEventArgs; 686touchDevice.StoredStagingAreaItems.AddItem(e.StagingItem); 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; 1400e.PushInput(args, e.StagingItem); 1408if (!e.StagingItem.Input.Handled) 1410RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 1413StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1445e.PushInput(eventArgsMain, e.StagingItem); 1454StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1465StagingAreaInputItem stagingItem = e.StagingItem; 1477if (e.StagingItem.Input.Handled) 1497else if (e.StagingItem.Input.RoutedEvent == Stylus.StylusSystemGestureEvent) 1547PromoteMainMoveToTouch(stylusDevice, e.StagingItem); 1551PromoteMainDownToTouch(stylusDevice, e.StagingItem); 1555PromoteMainUpToTouch(stylusDevice, e.StagingItem); 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 (21)
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; 542e.PushInput(text, e.StagingItem); 547else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputUpdateEvent) 549TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 555e.PushInput(text, e.StagingItem); 560else if(e.StagingItem.Input.RoutedEvent == TextCompositionManager.PreviewTextInputEvent) 562TextCompositionEventArgs textArgs = (TextCompositionEventArgs) e.StagingItem.Input; 568e.PushInput(text, e.StagingItem); 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 (2)
999InputEventArgs inputEventArgs = e.StagingItem.Input; 1029e.PushInput(promotedTouchEventArgs, e.StagingItem);
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]);