435 writes to Handled
Microsoft.CodeAnalysis.EditorFeatures.Wpf (18)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
139e.Handled = true;
InlineHints\InlineHintsTag.cs (2)
244e.Handled = true; 273e.Handled = true;
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (7)
176e.Handled = true; 182e.Handled = true; 195e.Handled = true; 208e.Handled = true; 217e.Handled = true; 225e.Handled = true; 275e.Handled = true;
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (7)
214args.Handled = true; 383e.Handled = true; 389e.Handled = true; 395e.Handled = true; 401e.Handled = true; 407e.Handled = true; 411=> e.Handled = true;
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (1)
101e.Handled = true;
Microsoft.VisualStudio.LanguageServices (8)
EditorConfigSettings\Common\TableControlFocusFixer.cs (1)
30e.Handled = true;
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
141e.Handled = true;
PickMembers\PickMembersDialog.xaml.cs (2)
125e.Handled = true; 134e.Handled = true;
PreviewPane\PreviewPane.xaml.cs (1)
383e.Handled = true;
ValueTracking\ValueTrackingTree.xaml.cs (3)
25e.Handled = e.Handled || e.Key switch 77e.Handled = true; 82e.Handled = true;
PresentationCore (29)
System\Windows\Input\AccessKeyManager.cs (2)
309e.Handled = true; 334e.Handled = true;
System\Windows\Input\Command\CommandBinding.cs (5)
139e.Handled = true; 146e.Handled = true; 156e.Handled = true; 191e.Handled = true; 199e.Handled = true;
System\Windows\Input\Command\CommandManager.cs (4)
437inputEventArgs.Handled = !continueRouting; 534e.Handled = true; 666e.Handled = true; 683e.Handled = true;
System\Windows\Input\MouseDevice.cs (1)
2032inputReportEventArgs.Handled = UpdateCursorPrivate();
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
243input.Handled = true; 262input.Handled = true;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (6)
527input.Handled = true; 723input.Handled = true; 824input.Handled = true; // We also don't want MouseDevice processing this. 881input.Handled = true; 917input.Handled = true; 932input.Handled = true;
System\Windows\Input\TextCompositionManager.cs (7)
440keyArgs.Handled = UnsafeStartComposition(_altNumpadcomposition); 445keyArgs.Handled = UnsafeUpdateComposition(_altNumpadcomposition); 580textArgs.Handled = UnsafeCompleteComposition(textArgs.TextComposition); 597textArgs.Handled = UnsafeCompleteComposition(comp); 652input.Handled = UnsafeStartComposition(_deadCharTextComposition); 658input.Handled = CompleteDeadCharComposition(inputText, 673input.Handled = UnsafeStartComposition(composition);
System\Windows\Input\TextServicesManager.cs (2)
200keyArgs.Handled = true; 211keyArgs.Handled = true;
PresentationFramework (267)
MS\Internal\Documents\DocumentGrid.cs (2)
2819args.Handled = true; 2824args.Handled = false;
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
122e.Handled = true;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
355e.Handled = true; 430e.Handled = true;
MS\Internal\Ink\EditingCoordinator.cs (1)
703mouseButtonEventArgs.Handled = true;
System\Windows\Annotations\AnnotationHelper.cs (6)
397e.Handled = true; 409e.Handled = true; 421e.Handled = true; 433e.Handled = true; 445e.Handled = true; 457e.Handled = true;
System\Windows\Controls\Calendar.cs (2)
836e.Handled = ProcessCalendarKey(e); 1247e.Handled = true;
System\Windows\Controls\CheckBox.cs (2)
83e.Handled = true; 89e.Handled = true;
System\Windows\Controls\ComboBox.cs (9)
1081e.Handled = true; 1179e.Handled = true; 1188e.Handled = true; 1522e.Handled = true; 1705e.Handled = true; 1726e.Handled = true; // Always handle so that parents won't take focus away 1762e.Handled = true; // Handle so that textbox won't try to update cursor position 1782e.Handled = true; 1827e.Handled = true;
System\Windows\Controls\ComboBoxItem.cs (4)
107e.Handled = true; 125e.Handled = true; 143e.Handled = true; 193e.Handled = true;
System\Windows\Controls\ContextMenu.cs (4)
434e.Handled = true; 443e.Handled = true; 460e.Handled = true; 673e.Handled = true;
System\Windows\Controls\Control.cs (1)
590e.Handled = true;
System\Windows\Controls\DataGrid.cs (22)
2117e.Handled = true; 2282e.Handled = true; 2333e.Handled = true; 2413e.Handled = true; 2507e.Handled = true; 2578e.Handled = true; 2599e.Handled = true; 2718e.Handled = true; 4336e.Handled = true; 4351e.Handled = true; 5466e.Handled = true; 5584e.Handled = true; 5926e.Handled = true; 5983e.Handled = true; 6073e.Handled = true; 6129e.Handled = true; 6279e.Handled = true; 6301e.Handled = true; 6317e.Handled = true; 6326e.Handled = true; 8259args.Handled = true; 8278args.Handled = true;
System\Windows\Controls\DataGridCell.cs (4)
922e.Handled = true; 945e.Handled = true; 997e.Handled = true; 1008e.Handled = true;
System\Windows\Controls\DataGridColumn.cs (1)
1454e.Handled |= handled;
System\Windows\Controls\DatePicker.cs (3)
847e.Handled = true; 852e.Handled = true; 1313e.Handled = ProcessDatePickerKey(e) || e.Handled;
System\Windows\Controls\DocumentViewer.cs (5)
1265e.Handled = true; 1286e.Handled = true; 1753args.Handled = true; 1832args.Handled = false; 2271e.Handled = true;
System\Windows\Controls\FlowDocumentReader.cs (4)
812e.Handled = true; 831e.Handled = true; 1614args.Handled = true; 1619args.Handled = !IsPrintEnabled;
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
665e.Handled = true; 684e.Handled = true; 730e.Handled = true; 1117args.Handled = true; // Mark the event as handled. 1140args.Handled = true; // Mark the event as handled. 1170args.Handled = true; // Mark the event as handled. 1576args.Handled = true;
System\Windows\Controls\Frame.cs (7)
632e.Handled = true; 638e.Handled = true; 645e.Handled = true; 651e.Handled = true; 667e.Handled = true; 682e.Handled = true; 689e.Handled = true;
System\Windows\Controls\GridSplitter.cs (5)
714e.Handled = true; 719e.Handled = KeyboardMoveSplitter(-KeyboardIncrement, 0); 722e.Handled = KeyboardMoveSplitter(KeyboardIncrement, 0); 725e.Handled = KeyboardMoveSplitter(0, -KeyboardIncrement); 728e.Handled = KeyboardMoveSplitter(0, KeyboardIncrement);
System\Windows\Controls\GridViewColumnHeader.cs (10)
201e.Handled = false; 218e.Handled = false; 242e.Handled = false; 316e.Handled = true; 328e.Handled = true; 374e.Handled = true; 653e.Handled = true; 676e.Handled = true; 688e.Handled = true; 733e.Handled = true;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
420e.Handled = true; 439e.Handled = true; 488e.Handled = true;
System\Windows\Controls\InkCanvas.cs (2)
2823args.Handled = true; 2889e.Handled = true;
System\Windows\Controls\ItemsControl.cs (1)
1690e.Handled = true;
System\Windows\Controls\ListBox.cs (1)
540e.Handled = true;
System\Windows\Controls\ListBoxItem.cs (2)
257e.Handled = true; 272e.Handled = true;
System\Windows\Controls\Menu.cs (5)
207e.Handled = true; 221e.Handled = true; 255e.Handled = true; 288e.Handled = true; 334e.Handled = true;
System\Windows\Controls\MenuItem.cs (6)
1097e.Handled = true; 1501e.Handled = true; 1546e.Handled = true; 1574e.Handled = true; 1625e.Handled = true; 2025e.Handled = true;
System\Windows\Controls\PopupControlService.cs (3)
216e.Handled = true; 233e.Handled = OpenOrCloseToolTipViaShortcut(); 964e.Handled = true;
System\Windows\Controls\Primitives\ButtonBase.cs (8)
430e.Handled = true; 494e.Handled = true; 523e.Handled = true; 557e.Handled = true; 570e.Handled = true; 628e.Handled = true; 644e.Handled = true; 703e.Handled = true;
System\Windows\Controls\Primitives\CalendarItem.cs (1)
828e.Handled = true;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (8)
309e.Handled = true; 319e.Handled = true; 360e.Handled = true; 372e.Handled = true; 975e.Handled = true; 987e.Handled = true; 1004e.Handled = true; 1016e.Handled = true;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (4)
722e.Handled = true; 732e.Handled = true; 743e.Handled = true; 753e.Handled = true;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1145args.Handled = true; // Mark the event as handled. 1202args.Handled = true; // Mark the event as handled. 1513args.Handled = true;
System\Windows\Controls\Primitives\MenuBase.cs (7)
200e.Handled = true; 386e.Handled = true; 457e.Handled = true; 463e.Handled = true; 475e.Handled = true; 563e.Handled = true; 593e.Handled = true;
System\Windows\Controls\Primitives\Popup.cs (1)
1230e.Handled = true;
System\Windows\Controls\Primitives\RepeatButton.cs (2)
265e.Handled = true; 278e.Handled = true;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
172e.Handled = true;
System\Windows\Controls\Primitives\Selector.cs (2)
1921e.Handled = true; 1931e.Handled = true;
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1065e.Handled = true;
System\Windows\Controls\Primitives\Thumb.cs (3)
233e.Handled = true; 272e.Handled = true; 312e.Handled = true;
System\Windows\Controls\ScrollViewer.cs (19)
999e.Handled = true; 1072e.Handled = true; 1076e.Handled = true; 1080e.Handled = true; 1084e.Handled = true; 1088e.Handled = true; 1092e.Handled = true; 1096e.Handled = true; 1100e.Handled = true; 1125e.Handled = true; 1135e.Handled = true; 1649e.Handled = true; 1729e.Handled = true; 1931e.Handled = true; 1962e.Handled = true; 2473e.Handled = true; 2491e.Handled = true; 2609args.Handled = true; 2626args.Handled = true;
System\Windows\Controls\SinglePageViewer.cs (4)
386e.Handled = true; 406e.Handled = true; 448e.Handled = false; 1356args.Handled = true;
System\Windows\Controls\Slider.cs (2)
784e.Handled = true; 1322e.Handled = slider.Focus() || e.Handled;
System\Windows\Controls\StickyNote.cs (3)
866args.Handled = true; 874args.Handled = true; 1258args.Handled = true;
System\Windows\Controls\TabControl.cs (1)
450e.Handled = nextTabItem.SetFocus();
System\Windows\Controls\TabItem.cs (6)
281e.Handled = true; 304e.Handled = true; 321e.Handled = true; 337e.Handled = true; 357e.Handled = true; 476e.Handled = true;
System\Windows\Controls\TextBlock.cs (1)
3483args.Handled = true;
System\Windows\Controls\ToolBar.cs (2)
684e.Handled = true; 700e.Handled = true;
System\Windows\Controls\ToolBarTray.cs (1)
660e.Handled = true;
System\Windows\Controls\ToolTipService.cs (1)
593e.Handled = true;
System\Windows\Controls\TreeView.cs (8)
531e.Handled = true; 544e.Handled = true; 551e.Handled = true; 558e.Handled = true; 568e.Handled = true; 573e.Handled = true; 583e.Handled = true; 591e.Handled = true;
System\Windows\Controls\TreeViewItem.cs (10)
556e.Handled = true; 562e.Handled = true; 583e.Handled = true; 591e.Handled = true; 609e.Handled = true; 619e.Handled = true; 623e.Handled = true; 632e.Handled = true; 639e.Handled = true; 781e.Handled = true;
System\Windows\Documents\FixedPage.cs (1)
105e.Handled = true;
System\Windows\Documents\Hyperlink.cs (4)
816e.Handled = true; 971e.Handled = true; 1013e.Handled = true; 1050e.Handled = true;
System\Windows\Documents\ImmComposition.cs (2)
1616e.Handled = InternalMouseEventHandler(); 1624e.Handled = InternalMouseEventHandler();
System\Windows\Documents\RubberbandSelector.cs (4)
506e.Handled = true; 531e.Handled = true; 546e.Handled = true; 572e.Handled = true;
System\windows\Documents\TextEditorContextMenu.cs (1)
226e.Handled = true;
System\windows\Documents\TextEditorCopyPaste.cs (7)
504args.Handled = true; 509args.Handled = true; 549args.Handled = true; 554args.Handled = true; 591args.Handled = true; 638args.Handled = true; 660args.Handled = true;
System\windows\Documents\TextEditorDragDrop.cs (7)
572e.Handled = true; 596e.Handled = TextEditorCopyPaste._DoPaste(_textEditor, e.Data, /*isDragDrop:*/true); 731e.Handled = true; 767e.Handled = true; 776e.Handled = true; 824e.Handled = true; 871e.Handled = true;
System\windows\Documents\TextEditorMouse.cs (4)
196e.Handled = true; 351e.Handled = true; 423e.Handled = true; 495e.Handled = true;
System\windows\Documents\TextEditorTyping.cs (2)
386e.Handled = true; 1293e.Handled = true;
System\Windows\Documents\TextStore.cs (2)
2970e.Handled = InternalMouseEventHandler(); 2978e.Handled = InternalMouseEventHandler();
System\Windows\FrameworkContentElement.cs (1)
993e.Handled = true;
System\Windows\FrameworkElement.cs (2)
3948e.Handled = true; 5353e.Handled = true;
System\Windows\Input\KeyboardNavigation.cs (3)
1245keyEventArgs.Handled = Navigate(sourceElement, keyEventArgs.Key, keyEventArgs.KeyboardDevice.Modifiers, fromProcessInput: true); 3218keyEventArgs.Handled = OnEnterMenuMode(keyEventArgs.Source); 3229keyEventArgs.Handled = true;
System\Windows\Interop\HwndHost.cs (2)
152e.Handled = handled; 187e.Handled = handled;
System\Windows\Navigation\NavigationService.cs (1)
106e.Handled = true;
PresentationUI (14)
InstallationError.xaml.cs (1)
203e.Handled = true;
MS\Internal\Documents\Application\PageTextBox.cs (3)
162e.Handled = true; 245e.Handled = true; 275e.Handled = true;
MS\Internal\Documents\Application\ZoomComboBox.cs (3)
307e.Handled = true; 371e.Handled = true; 402e.Handled = true;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
1254e.Handled = true; 1342e.Handled = true; 1725e.Handled = true;
MS\Internal\Documents\FindToolBar.xaml.cs (1)
259e.Handled = true;
TenFeetInstallationError.xaml.cs (1)
206e.Handled = true;
TenFeetInstallationProgress.xaml.cs (2)
148e.Handled = true; 163e.Handled = true;
System.Windows.Controls.Ribbon (97)
Microsoft\Windows\Controls\KeyTipService.cs (5)
714e.StagingItem.Input.Handled = true; 763keyArgs.Handled = true; 786keyArgs.Handled = true; 824keyArgs.Handled = true; 864textArgs.Handled = true;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (9)
1019e.Handled = true; 1889e.Handled = OnArrowControlKeyDown(e.Key); 2483args.Handled = true; 2522args.Handled = true; 2551args.Handled = true; 2579args.Handled = true; 2610args.Handled = true; 2640args.Handled = true; 2662e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (5)
465e.Handled = true; 483e.Handled = true; 506e.Handled = true; 535e.Handled = true; 563e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
593e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
600e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (7)
179e.Handled = true; 999e.Handled = true; 1161e.Handled = true; 1218e.Handled = true; 1275e.Handled = true; // Handle so that textbox won't try to update cursor position 1295e.Handled = true; 1576e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (5)
325e.Handled = true; 337e.Handled = true; 342e.Handled = true; 377e.Handled = true; 389e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
126e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (5)
1799args.Handled = true; 2697e.Handled = true; 2742e.Handled = menuItem.HandleLeftKeyDown(e.OriginalSource as DependencyObject); 2755e.Handled = RibbonHelper.NavigatePageAndHighlightRibbonGalleryItem( 2786e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (10)
319e.Handled = true; 337e.Handled = true; 361e.Handled = true; 392e.Handled = true; 405e.Handled = true; 424e.Handled = true; 435e.Handled = true; 458e.Handled = true; 484e.Handled = true; 806e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1436e.Handled = true; 1782e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (11)
1039e.Handled = true; 1067e.Handled = true; 1090e.Handled = true; 1178e.Handled = true; 1183e.Handled = true; 1266e.Handled = true; 1287e.Handled = true; 1297e.Handled = true; 1316e.Handled = true; 2464e.Handled = true; 2476e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (9)
744e.Handled = true; 762e.Handled = true; 872e.Handled = handled; 919e.Handled = true; 999e.Handled = true; 1014e.Handled = true; 1405e.Handled = true; 1467e.Handled = true; 1694e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
938e.Handled = handled; 945e.Handled = true; 964e.Handled = true; 1031e.Handled = true; 1063e.Handled = true; 1078e.Handled = true; 1529e.Handled = true; 1843e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
689e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
616e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (3)
190e.Handled = true; 256e.Handled = true; 416e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
389e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
329e.Handled = true; 360e.Handled = true; 377e.Handled = true; 384e.Handled = true; 731e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
707e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
635e.Handled = true;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (5)
190args.Handled = true; 214args.Handled = true; 238args.Handled = true; 257args.Handled = true; 299args.Handled = true;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
543e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);
System\Windows\Integration\WindowsFormsHost.cs (1)
1031e.StagingItem.Input.Handled = this.ProcessDialogChar(text[0]);
302 references to Handled
Microsoft.VisualStudio.LanguageServices (1)
ValueTracking\ValueTrackingTree.xaml.cs (1)
25e.Handled = e.Handled || e.Key switch
PresentationCore (169)
System\Windows\ContentElement.cs (2)
204if (!args.Handled) 212if (args.Handled && (InputManager.SynchronizedInputState == SynchronizedInputStates.HadOpportunity))
System\Windows\DragDrop.cs (6)
724if (!args.Handled) 745if (!args.Handled) 780if (!args.Handled) 802if (!args.Handled) 1180if (!dragEventArgs.Handled) 1205if (!dragEventArgs.Handled)
System\Windows\EventManager.cs (2)
125/// <see cref="RoutedEventArgs.Handled"/> <para/> 130/// <see cref="RoutedEventArgs.Handled"/>
System\Windows\EventRoute.cs (4)
187_traceArguments[2] = BooleanBoxes.Box(args.Handled); 198_traceArguments[2] = BooleanBoxes.Box(args.Handled); 259_traceArguments[2] = BooleanBoxes.Box(args.Handled); 271_traceArguments[2] = BooleanBoxes.Box(args.Handled);
System\Windows\Generated\ContentElement.cs (2)
506/// <see cref="RoutedEventArgs.Handled"/> <para/> 511/// <see cref="RoutedEventArgs.Handled"/>
System\Windows\Generated\UIElement.cs (85)
506/// <see cref="RoutedEventArgs.Handled"/> <para/> 511/// <see cref="RoutedEventArgs.Handled"/> 826if(!e.Handled) 855if(!e.Handled) 860if(!e.Handled) 889if(!e.Handled) 918if(!e.Handled) 947Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 972Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 997Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1022Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1047Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1072Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1097Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1122Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1147Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1172Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1197Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1222Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1226if(!e.Handled) 1252Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1277Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1302Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1327Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1352Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1377Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1402Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1427Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1452Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1477Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1502Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1527Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1552Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1577Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1602Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1627Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1652Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1677Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1702Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1727Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1752Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1777Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1802Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1827Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1852Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1877Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1902Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1927Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1952Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 1956if(!e.Handled) 1982Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2007Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2032Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2057Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2082Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2107Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2132Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2157Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2182Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2190Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2198Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2206Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2214Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2222Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2247Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2272Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2297Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2322Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2347Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2372Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2397Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2422Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2447Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2472Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2497Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2522Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2547Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2572Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2597Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2622Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2647Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2672Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2697Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2722Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled."); 2747Invariant.Assert(!e.Handled, "Unexpected: Event has already been handled.");
System\Windows\Generated\UIElement3D.cs (2)
303/// <see cref="RoutedEventArgs.Handled"/> <para/> 308/// <see cref="RoutedEventArgs.Handled"/>
System\Windows\Input\AccessKeyManager.cs (1)
209if (e.StagingItem.Input.Handled) return;
System\Windows\Input\Command\CommandBinding.cs (2)
130if (e.Handled) return; 184if (e.Handled) return;
System\Windows\Input\Command\CommandDevice.cs (1)
87if (!e.StagingItem.Input.Handled)
System\Windows\Input\Command\CommandManager.cs (5)
455if (!e.Handled && (e.RoutedEvent == CanExecuteEvent)) 478return e.CanExecute || e.Handled; 490if (!e.Handled && (e.RoutedEvent == ExecutedEvent)) 513return e.Handled; 532if (executedArgs.Handled)
System\Windows\Input\Command\RoutedCommand.cs (3)
336if (!args.Handled) 416if (!args.Handled) 433return args.Handled;
System\Windows\Input\InputManager.cs (2)
862if(!item.Input.Handled) 873if(input.Handled)
System\Windows\Input\KeyboardDevice.cs (5)
293if (previewLostFocus.Handled) 310if (previewGotFocus.Handled) 801if(!e.StagingItem.Input.Handled) 856if(!e.StagingItem.Input.Handled) 910if(!e.StagingItem.Input.Handled)
System\Windows\Input\MouseDevice.cs (8)
951return queryCursor.Handled; 1161if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1384if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1819if (!e.StagingItem.Input.Handled) 1838if (!e.StagingItem.Input.Handled) 1851if (!e.StagingItem.Input.Handled) 1863if (!e.StagingItem.Input.Handled) 1886if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
187if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 306if (input != null && !input.Handled) 366if (!input.Handled) 1041if (!e.StagingItem.Input.Handled) 1114if (e.StagingItem.Input.Handled)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
501if (!e.StagingItem.Input.Handled)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (8)
472if (input != null && !input.Handled) 991if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 1180if (!input.Handled && input.Report.Type == InputType.Stylus) 1408if (!e.StagingItem.Input.Handled) 1477if (e.StagingItem.Input.Handled) 1725if (!stagingItem.Input.Handled) 1802if (!e.StagingItem.Input.Handled) 2872if (!e.StagingItem.Input.Handled)
System\Windows\Input\TextCompositionManager.cs (8)
427if (!keyArgs.Handled) 471if (!keyArgs.Handled 487if(!keyArgs.Handled) 537if(!textArgs.Handled) 550if(!textArgs.Handled) 563if(!textArgs.Handled) 576if(!textArgs.Handled) 589if(!textArgs.Handled)
System\Windows\Input\TextServicesManager.cs (3)
149if(!keyArgs.Handled) 192if(!keyArgs.Handled && keyArgs.Key == Key.ImeProcessed) 209if(!keyArgs.Handled && keyArgs.Key == Key.ImeProcessed)
System\Windows\Input\TouchDevice.cs (1)
1002if (inputEventArgs.Handled)
System\Windows\InterOp\HwndSource.cs (3)
2408handled = tunnelArgs.Handled; 2419handled = bubbleArgs.Handled; 2428handled = bubbleArgs.Handled;
System\Windows\RoutedEventArgs.cs (2)
24/// <see cref="RoutedEventArgs.Handled"/>, <para/> 51/// <see cref="RoutedEventArgs.Handled"/> defaults to
System\Windows\RoutedEventHandlerInfo.cs (1)
69if ((routedEventArgs.Handled == false) || (_handledEventsToo == true))
System\Windows\UIElement.cs (5)
1859if (args.Handled && (InputManager.SynchronizedInputState == SynchronizedInputStates.HadOpportunity)) 2264args.Handled ); 2292args.Handled ); 2316args.Handled ); 2342args.Handled );
System\Windows\UIElement3D.cs (2)
1278if (!args.Handled) 1286if (args.Handled && (InputManager.SynchronizedInputState == SynchronizedInputStates.HadOpportunity))
PresentationFramework (109)
MS\Internal\Documents\DocumentViewerHelper.cs (2)
336if (!e.Handled && findToolBarHost != null) 436if (!e.Handled)
System\Windows\Controls\Calendar.cs (3)
834if (!e.Handled) 842if (!e.Handled) 1233if (!e.Handled && e.OriginalSource == c)
System\Windows\Controls\ComboBox.cs (1)
1074if (!e.Handled)
System\Windows\Controls\ContextMenu.cs (2)
419if (e.Handled || !IsOpen) 457if (!e.Handled && IsOpen && e.Key == Key.Apps)
System\Windows\Controls\Control.cs (1)
589if (doubleClick.Handled)
System\Windows\Controls\DataGrid.cs (2)
5439if (!e.Handled && !String.IsNullOrEmpty(e.Text) && IsTextSearchEnabled) 5543if (!e.Handled)
System\Windows\Controls\DataGridCell.cs (2)
907if (focusWithin && !isCtrlKeyPressed && !e.Handled && IsSelected) 973if (!e.Handled)
System\Windows\Controls\DatePicker.cs (2)
842if ((!e.Handled) && (picker._textBox != null)) 1313e.Handled = ProcessDatePickerKey(e) || e.Handled;
System\Windows\Controls\DocumentViewer.cs (2)
1262if (!e.Handled) 1276if (e.Handled)
System\Windows\Controls\FlowDocumentReader.cs (2)
803if (e.Handled) { return; } 837if (!e.Handled)
System\Windows\Controls\FlowDocumentScrollViewer.cs (5)
656if (e.Handled) { return; } 690if (!e.Handled) 702if (e.Handled) { return; } 734if (!e.Handled) 1174if (args.Handled)
System\Windows\Controls\GroupBox.cs (1)
54if (!e.Handled && e.Scope == null && e.Target == null)
System\Windows\Controls\InkCanvas.cs (1)
2881if ( !e.Handled || inkCanvas.ForceCursor )
System\Windows\Controls\Label.cs (1)
182if (!e.Handled && e.Scope == null && (e.Target == null || e.Target == label))
System\Windows\Controls\ListBoxItem.cs (2)
254if (!e.Handled) 269if (!e.Handled)
System\Windows\Controls\Menu.cs (3)
192if (e.Handled) return; 235if (e.Handled) return; 268if (e.Handled)
System\Windows\Controls\MenuItem.cs (5)
1421if (!e.Handled) 1440if (!e.Handled) 1457if (!e.Handled) 1472if (!e.Handled) 1851if (!e.Handled && e.NewFocus == this)
System\Windows\Controls\PasswordBox.cs (17)
518if (e.Handled) 533if (e.Handled) 548if (e.Handled) 563if (e.Handled) 578if (e.Handled) 593if (e.Handled) 608if (e.Handled) 623if (e.Handled) 638if (e.Handled) 653if (e.Handled) 668if (e.Handled) 683if (e.Handled) 698if (e.Handled) 714if (e.Handled) 729if (e.Handled) 744if (e.Handled) 760if (e.Handled)
System\Windows\Controls\PopupControlService.cs (6)
50if (!report.Handled) 205if (!e.Handled) 226if (!e.Handled) 253if (!e.Handled) 439show = !args.Handled && (_currentToolTip == null); 999if (!args.Handled)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
152if (!e.Handled && e.Scope == null && e.Target == null)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
272if (!e.Handled &&
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1205if (args.Handled)
System\Windows\Controls\Primitives\ScrollBar.cs (1)
820if (!e.Handled)
System\Windows\Controls\Primitives\TextBoxBase.cs (18)
1078if (e.Handled) 1096if (e.Handled) 1114if (e.Handled) 1132if (e.Handled) 1150if (e.Handled) 1168if (e.Handled) 1186if (e.Handled) 1204if (e.Handled) 1222if (e.Handled) 1240if (e.Handled) 1258if (e.Handled) 1276if (e.Handled) 1294if (e.Handled) 1312if (e.Handled) 1331if (e.Handled) 1349if (e.Handled) 1367if (e.Handled) 1386if (e.Handled)
System\Windows\Controls\ScrollViewer.cs (2)
925if (e.Handled) 1112if (e.Handled) { return; }
System\Windows\Controls\SinglePageViewer.cs (2)
411if (!e.Handled) 452if (!e.Handled)
System\Windows\Controls\Slider.cs (1)
1322e.Handled = slider.Focus() || e.Handled;
System\Windows\Controls\TabControl.cs (1)
453if (!e.Handled)
System\Windows\Controls\TabItem.cs (3)
293if (!e.Handled && e.NewFocus == this) 341if (!e.Handled && GetBoolField(BoolField.SetFocusOnContent)) 465if (!e.Handled && e.Scope == null)
System\Windows\Controls\ToolBar.cs (2)
689if (!e.Handled) 697if (!e.Handled)
System\Windows\Controls\TreeView.cs (1)
515if (!e.Handled)
System\Windows\Controls\TreeViewItem.cs (2)
547if (!e.Handled && IsEnabled) 575if (!e.Handled)
System\Windows\Documents\Hyperlink.cs (3)
597if (navigateArgs.Handled) 706if (!e.Handled && e.Key == Key.Enter) 954if (!e.Handled && e.Key == Key.Enter)
System\windows\Documents\TextEditorDragDrop.cs (1)
601if (e.Handled)
System\Windows\FrameworkContentElement.cs (1)
990if(!e.Handled || fce.ForceCursor)
System\Windows\FrameworkElement.cs (1)
3945if(!e.Handled || fe.ForceCursor)
System\Windows\Input\KeyboardNavigation.cs (5)
1192if (keyEventArgs.Handled) 3169if (((args != null) && (args.NewFocus == null)) || inputEventArgs.Handled) 3179if (inputEventArgs.Handled) 3210if (!inputEventArgs.Handled) 3234else if (keyEventArgs.Handled)
System\Windows\Interop\ActiveXHost.cs (1)
927if (!args.Handled && args.Scope == null && args.Target == null)
System\Windows\Window.cs (1)
7061if (!e.Handled)
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
315if (!e.Handled)
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Controls\KeyTipService.cs (2)
724if (!keyArgs.Handled && IsKeyTipKey(keyArgs) && State == KeyTipState.None) 1398activatingEventArgs.Handled ? null : activatingEventArgs.OwnerRibbonGroup);
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (3)
1855if (!e.Handled && 1871if (!e.Handled) 1880if (!e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
441if (e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (4)
170if (!e.Handled) 927if (e.Handled) 969if (e.Handled) 1222if (!e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
644if (ShouldExecuteCommand && !e.Handled && e.NewValue != null) 2672if (!e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1460if (!e.Handled && IsCollapsed)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2442if (e.Handled || menuItem.IsSubmenuOpen)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
782if (e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
811if (e.Handled) 949if( !e.Handled &&
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
424if (!e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
376if (!e.Handled)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
349if (!e.Handled)
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
533if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)
System\Windows\Integration\WindowsFormsHost.cs (1)
1021if (!e.StagingItem.Input.Handled && e.StagingItem.Input.RoutedEvent == SWI.TextCompositionManager.TextInputEvent)