Implemented interface member:
method
RemoveHandler
System.Windows.IInputElement.RemoveHandler(System.Windows.RoutedEvent, System.Delegate)
196 references to RemoveHandler
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
InlineRename\UI\Adornment\RenameUserInputTextBox.xaml.cs (2)
42RemoveHandler(SelectionChangedEvent, value); 54RemoveHandler(PreviewKeyDownEvent, value);
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (2)
67RemoveHandler(SelectionChangedEvent, value); 79RemoveHandler(PreviewKeyDownEvent, value);
PresentationCore (89)
System\Windows\Generated\UIElement.cs (75)
2769remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); } 2788remove { RemoveHandler(Mouse.MouseDownEvent, value); } 2807remove { RemoveHandler(Mouse.PreviewMouseUpEvent, value); } 2826remove { RemoveHandler(Mouse.MouseUpEvent, value); } 2845remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 2864remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 2883remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 2902remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 2921remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 2940remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 2959remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 2978remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 2997remove { RemoveHandler(Mouse.PreviewMouseMoveEvent, value); } 3016remove { RemoveHandler(Mouse.MouseMoveEvent, value); } 3035remove { RemoveHandler(Mouse.PreviewMouseWheelEvent, value); } 3054remove { RemoveHandler(Mouse.MouseWheelEvent, value); } 3073remove { RemoveHandler(Mouse.MouseEnterEvent, value); } 3092remove { RemoveHandler(Mouse.MouseLeaveEvent, value); } 3111remove { RemoveHandler(Mouse.GotMouseCaptureEvent, value); } 3130remove { RemoveHandler(Mouse.LostMouseCaptureEvent, value); } 3149remove { RemoveHandler(Mouse.QueryCursorEvent, value); } 3168remove { RemoveHandler(Stylus.PreviewStylusDownEvent, value); } 3187remove { RemoveHandler(Stylus.StylusDownEvent, value); } 3206remove { RemoveHandler(Stylus.PreviewStylusUpEvent, value); } 3225remove { RemoveHandler(Stylus.StylusUpEvent, value); } 3244remove { RemoveHandler(Stylus.PreviewStylusMoveEvent, value); } 3263remove { RemoveHandler(Stylus.StylusMoveEvent, value); } 3282remove { RemoveHandler(Stylus.PreviewStylusInAirMoveEvent, value); } 3301remove { RemoveHandler(Stylus.StylusInAirMoveEvent, value); } 3320remove { RemoveHandler(Stylus.StylusEnterEvent, value); } 3339remove { RemoveHandler(Stylus.StylusLeaveEvent, value); } 3358remove { RemoveHandler(Stylus.PreviewStylusInRangeEvent, value); } 3377remove { RemoveHandler(Stylus.StylusInRangeEvent, value); } 3396remove { RemoveHandler(Stylus.PreviewStylusOutOfRangeEvent, value); } 3415remove { RemoveHandler(Stylus.StylusOutOfRangeEvent, value); } 3434remove { RemoveHandler(Stylus.PreviewStylusSystemGestureEvent, value); } 3453remove { RemoveHandler(Stylus.StylusSystemGestureEvent, value); } 3472remove { RemoveHandler(Stylus.GotStylusCaptureEvent, value); } 3491remove { RemoveHandler(Stylus.LostStylusCaptureEvent, value); } 3510remove { RemoveHandler(Stylus.StylusButtonDownEvent, value); } 3529remove { RemoveHandler(Stylus.StylusButtonUpEvent, value); } 3548remove { RemoveHandler(Stylus.PreviewStylusButtonDownEvent, value); } 3567remove { RemoveHandler(Stylus.PreviewStylusButtonUpEvent, value); } 3586remove { RemoveHandler(Keyboard.PreviewKeyDownEvent, value); } 3605remove { RemoveHandler(Keyboard.KeyDownEvent, value); } 3624remove { RemoveHandler(Keyboard.PreviewKeyUpEvent, value); } 3643remove { RemoveHandler(Keyboard.KeyUpEvent, value); } 3662remove { RemoveHandler(Keyboard.PreviewGotKeyboardFocusEvent, value); } 3681remove { RemoveHandler(Keyboard.GotKeyboardFocusEvent, value); } 3700remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); } 3719remove { RemoveHandler(Keyboard.LostKeyboardFocusEvent, value); } 3738remove { RemoveHandler(TextCompositionManager.PreviewTextInputEvent, value); } 3757remove { RemoveHandler(TextCompositionManager.TextInputEvent, value); } 3776remove { RemoveHandler(DragDrop.PreviewQueryContinueDragEvent, value); } 3795remove { RemoveHandler(DragDrop.QueryContinueDragEvent, value); } 3814remove { RemoveHandler(DragDrop.PreviewGiveFeedbackEvent, value); } 3833remove { RemoveHandler(DragDrop.GiveFeedbackEvent, value); } 3852remove { RemoveHandler(DragDrop.PreviewDragEnterEvent, value); } 3871remove { RemoveHandler(DragDrop.DragEnterEvent, value); } 3890remove { RemoveHandler(DragDrop.PreviewDragOverEvent, value); } 3909remove { RemoveHandler(DragDrop.DragOverEvent, value); } 3928remove { RemoveHandler(DragDrop.PreviewDragLeaveEvent, value); } 3947remove { RemoveHandler(DragDrop.DragLeaveEvent, value); } 3966remove { RemoveHandler(DragDrop.PreviewDropEvent, value); } 3985remove { RemoveHandler(DragDrop.DropEvent, value); } 4005remove { RemoveHandler(Touch.PreviewTouchDownEvent, value); } 4025remove { RemoveHandler(Touch.TouchDownEvent, value); } 4045remove { RemoveHandler(Touch.PreviewTouchMoveEvent, value); } 4065remove { RemoveHandler(Touch.TouchMoveEvent, value); } 4085remove { RemoveHandler(Touch.PreviewTouchUpEvent, value); } 4105remove { RemoveHandler(Touch.TouchUpEvent, value); } 4125remove { RemoveHandler(Touch.GotTouchCaptureEvent, value); } 4145remove { RemoveHandler(Touch.LostTouchCaptureEvent, value); } 4165remove { RemoveHandler(Touch.TouchEnterEvent, value); } 4185remove { RemoveHandler(Touch.TouchLeaveEvent, value); }
System\Windows\Input\Command\CommandManager.cs (4)
65element.RemoveHandler(PreviewExecutedEvent, handler); 100element.RemoveHandler(ExecutedEvent, handler); 135element.RemoveHandler(PreviewCanExecuteEvent, handler); 170element.RemoveHandler(CanExecuteEvent, handler);
System\Windows\PresentationSource.cs (1)
204uie.RemoveHandler(SourceChangedEvent, handler);
System\Windows\UIElement.cs (9)
1920uiElement.RemoveHandler(routedEvent, handler); 3480remove { RemoveHandler(GotFocusEvent, value); } 3494remove { RemoveHandler(LostFocusEvent, value); } 4378remove { RemoveHandler(ManipulationStartingEvent, value); } 4403remove { RemoveHandler(ManipulationStartedEvent, value); } 4428remove { RemoveHandler(ManipulationDeltaEvent, value); } 4453remove { RemoveHandler(ManipulationInertiaStartingEvent, value); } 4478remove { RemoveHandler(ManipulationBoundaryFeedbackEvent, value); } 4503remove { RemoveHandler(ManipulationCompletedEvent, value); }
PresentationFramework (93)
MS\Internal\Ink\EditingCoordinator.cs (4)
1020_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1021_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1035_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1036_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
91InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp)); 92InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 93InkCanvas.SelectionAdorner.RemoveHandler(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\SelectionEditor.cs (4)
90InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent)); 91InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 92InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 93InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
System\Windows\Controls\Calendar.cs (1)
54remove { RemoveHandler(SelectedDatesChangedEvent, value); }
System\Windows\Controls\ContextMenu.cs (2)
323RemoveHandler(OpenedEvent, value); 352RemoveHandler(ClosedEvent, value);
System\Windows\Controls\Control.cs (2)
521remove { RemoveHandler(PreviewMouseDoubleClickEvent, value); } 544remove { RemoveHandler(MouseDoubleClickEvent, value); }
System\Windows\Controls\DataGridCell.cs (2)
734RemoveHandler(SelectedEvent, value); 764RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\DataGridRow.cs (2)
1145RemoveHandler(SelectedEvent, value); 1175RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\DatePicker.cs (6)
75remove { RemoveHandler(SelectedDateChangedEvent, value); } 658_popUp.RemoveHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown)); 667_dropDownButton.RemoveHandler(MouseLeaveEvent, new MouseEventHandler(DropDownButton_MouseLeave)); 672_textBox.RemoveHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown)); 673_textBox.RemoveHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged)); 674_textBox.RemoveHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus));
System\Windows\Controls\Expander.cs (2)
176remove { RemoveHandler(ExpandedEvent, value); } 195remove { RemoveHandler(CollapsedEvent, value); }
System\Windows\Controls\Image.cs (2)
155remove { RemoveHandler(ImageFailedEvent, value); } 164remove { RemoveHandler(Image.DpiChangedEvent, value); }
System\Windows\Controls\InkCanvas.cs (6)
1016RemoveHandler(InkCanvas.StrokeCollectedEvent, value); 1147RemoveHandler(InkCanvas.GestureEvent, value); 1237RemoveHandler(InkCanvas.ActiveEditingModeChangedEvent, value); 1294RemoveHandler(InkCanvas.EditingModeChangedEvent, value); 1348RemoveHandler(InkCanvas.EditingModeInvertedChangedEvent, value); 1496RemoveHandler(InkCanvas.StrokeErasedEvent, value);
System\Windows\Controls\ListBoxItem.cs (2)
150RemoveHandler(SelectedEvent, value); 170RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\MediaElement.cs (6)
568remove { RemoveHandler(MediaFailedEvent, value); } 588remove { RemoveHandler(MediaOpenedEvent, value); } 607remove { RemoveHandler(BufferingStartedEvent, value); } 626remove { RemoveHandler(BufferingEndedEvent, value); } 645remove { RemoveHandler(ScriptCommandEvent, value); } 664remove { RemoveHandler(MediaEndedEvent, value); }
System\Windows\Controls\MenuItem.cs (5)
222RemoveHandler(MenuItem.ClickEvent, value); 255RemoveHandler(CheckedEvent, value); 272RemoveHandler(UncheckedEvent, value); 301RemoveHandler(SubmenuOpenedEvent, value); 317RemoveHandler(SubmenuClosedEvent, value);
System\Windows\Controls\PasswordBox.cs (1)
390RemoveHandler(PasswordChangedEvent, value);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
176public event RoutedEventHandler Click { add { AddHandler(ClickEvent, value); } remove { RemoveHandler(ClickEvent, value); } }
System\Windows\Controls\Primitives\RangeBase.cs (1)
57public event RoutedPropertyChangedEventHandler<double> ValueChanged { add { AddHandler(ValueChangedEvent, value); } remove { RemoveHandler(ValueChangedEvent, value); } }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
65public event ScrollEventHandler Scroll { add { AddHandler(ScrollEvent, value); } remove { RemoveHandler(ScrollEvent, value); } }
System\Windows\Controls\Primitives\Selector.cs (1)
86remove { RemoveHandler(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
924RemoveHandler(TextChangedEvent, value); 949RemoveHandler(SelectionChangedEvent, value);
System\Windows\Controls\Primitives\Thumb.cs (3)
73public event DragStartedEventHandler DragStarted { add { AddHandler(DragStartedEvent, value); } remove { RemoveHandler(DragStartedEvent, value); } } 79public event DragDeltaEventHandler DragDelta { add { AddHandler(DragDeltaEvent, value); } remove { RemoveHandler(DragDeltaEvent, value); } } 85public event DragCompletedEventHandler DragCompleted { add { AddHandler(DragCompletedEvent, value); } remove { RemoveHandler(DragCompletedEvent, value); } }
System\Windows\Controls\Primitives\ToggleButton.cs (3)
71RemoveHandler(CheckedEvent, value); 88RemoveHandler(UncheckedEvent, value); 105RemoveHandler(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
846remove { RemoveHandler(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
1278closeButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1284iconButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1290titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1291titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1297resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1298resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolTip.cs (2)
369RemoveHandler(OpenedEvent, value); 400RemoveHandler(ClosedEvent, value);
System\Windows\Controls\TreeView.cs (1)
164RemoveHandler(SelectedItemChangedEvent, value);
System\Windows\Controls\TreeViewItem.cs (4)
219RemoveHandler(ExpandedEvent, value); 251RemoveHandler(CollapsedEvent, value); 283RemoveHandler(SelectedEvent, value); 315RemoveHandler(UnselectedEvent, value);
System\windows\Documents\TextEditorMouse.cs (2)
633((ScrollViewer)scrollViewer).RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 662scrollViewer.RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\EventTrigger.cs (1)
359eventTrigger._source.RemoveHandler( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler);
System\Windows\FrameworkElement.cs (10)
2668remove { RemoveHandler(Binding.TargetUpdatedEvent, value); } 2678remove { RemoveHandler(Binding.SourceUpdatedEvent, value); } 3275remove { RemoveHandler(RequestBringIntoViewEvent, value); } 3320remove {RemoveHandler(SizeChangedEvent, value);} 5722RemoveHandler(LoadedEvent, value); 5788RemoveHandler(UnloadedEvent, value); 5947remove { RemoveHandler(ToolTipOpeningEvent, value); } 5979remove { RemoveHandler(ToolTipClosingEvent, value); } 6012remove { RemoveHandler(ContextMenuOpeningEvent, value); } 6039remove { RemoveHandler(ContextMenuClosingEvent, value); }
System\Windows\Input\KeyboardNavigation.cs (2)
2732sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2789((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System\Windows\Interop\HwndHost.cs (1)
119remove { RemoveHandler(HwndHost.DpiChangedEvent, value); }
System\Windows\Window.cs (1)
1640remove { RemoveHandler(Window.DpiChangedEvent, value); }
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
153remove { RemoveHandler(ExpandedEvent, value); } 172remove { RemoveHandler(CollapsedEvent, value); }
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
1606_firstGallery.RemoveHandler(RibbonGalleryItem.SelectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1607_firstGallery.RemoveHandler(RibbonGalleryItem.UnselectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1608_firstGallery.RemoveHandler(Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
631RemoveHandler(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
91RemoveHandler(SelectedEvent, value); 134RemoveHandler(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
977uiElement.RemoveHandler(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
257RemoveHandler(RibbonSplitButton.ClickEvent, value);