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)
2781remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); } 2800remove { RemoveHandler(Mouse.MouseDownEvent, value); } 2819remove { RemoveHandler(Mouse.PreviewMouseUpEvent, value); } 2838remove { RemoveHandler(Mouse.MouseUpEvent, value); } 2857remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 2876remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 2895remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 2914remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 2933remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 2952remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 2971remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 2990remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 3009remove { RemoveHandler(Mouse.PreviewMouseMoveEvent, value); } 3028remove { RemoveHandler(Mouse.MouseMoveEvent, value); } 3047remove { RemoveHandler(Mouse.PreviewMouseWheelEvent, value); } 3066remove { RemoveHandler(Mouse.MouseWheelEvent, value); } 3085remove { RemoveHandler(Mouse.MouseEnterEvent, value); } 3104remove { RemoveHandler(Mouse.MouseLeaveEvent, value); } 3123remove { RemoveHandler(Mouse.GotMouseCaptureEvent, value); } 3142remove { RemoveHandler(Mouse.LostMouseCaptureEvent, value); } 3161remove { RemoveHandler(Mouse.QueryCursorEvent, value); } 3180remove { RemoveHandler(Stylus.PreviewStylusDownEvent, value); } 3199remove { RemoveHandler(Stylus.StylusDownEvent, value); } 3218remove { RemoveHandler(Stylus.PreviewStylusUpEvent, value); } 3237remove { RemoveHandler(Stylus.StylusUpEvent, value); } 3256remove { RemoveHandler(Stylus.PreviewStylusMoveEvent, value); } 3275remove { RemoveHandler(Stylus.StylusMoveEvent, value); } 3294remove { RemoveHandler(Stylus.PreviewStylusInAirMoveEvent, value); } 3313remove { RemoveHandler(Stylus.StylusInAirMoveEvent, value); } 3332remove { RemoveHandler(Stylus.StylusEnterEvent, value); } 3351remove { RemoveHandler(Stylus.StylusLeaveEvent, value); } 3370remove { RemoveHandler(Stylus.PreviewStylusInRangeEvent, value); } 3389remove { RemoveHandler(Stylus.StylusInRangeEvent, value); } 3408remove { RemoveHandler(Stylus.PreviewStylusOutOfRangeEvent, value); } 3427remove { RemoveHandler(Stylus.StylusOutOfRangeEvent, value); } 3446remove { RemoveHandler(Stylus.PreviewStylusSystemGestureEvent, value); } 3465remove { RemoveHandler(Stylus.StylusSystemGestureEvent, value); } 3484remove { RemoveHandler(Stylus.GotStylusCaptureEvent, value); } 3503remove { RemoveHandler(Stylus.LostStylusCaptureEvent, value); } 3522remove { RemoveHandler(Stylus.StylusButtonDownEvent, value); } 3541remove { RemoveHandler(Stylus.StylusButtonUpEvent, value); } 3560remove { RemoveHandler(Stylus.PreviewStylusButtonDownEvent, value); } 3579remove { RemoveHandler(Stylus.PreviewStylusButtonUpEvent, value); } 3598remove { RemoveHandler(Keyboard.PreviewKeyDownEvent, value); } 3617remove { RemoveHandler(Keyboard.KeyDownEvent, value); } 3636remove { RemoveHandler(Keyboard.PreviewKeyUpEvent, value); } 3655remove { RemoveHandler(Keyboard.KeyUpEvent, value); } 3674remove { RemoveHandler(Keyboard.PreviewGotKeyboardFocusEvent, value); } 3693remove { RemoveHandler(Keyboard.GotKeyboardFocusEvent, value); } 3712remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); } 3731remove { RemoveHandler(Keyboard.LostKeyboardFocusEvent, value); } 3750remove { RemoveHandler(TextCompositionManager.PreviewTextInputEvent, value); } 3769remove { RemoveHandler(TextCompositionManager.TextInputEvent, value); } 3788remove { RemoveHandler(DragDrop.PreviewQueryContinueDragEvent, value); } 3807remove { RemoveHandler(DragDrop.QueryContinueDragEvent, value); } 3826remove { RemoveHandler(DragDrop.PreviewGiveFeedbackEvent, value); } 3845remove { RemoveHandler(DragDrop.GiveFeedbackEvent, value); } 3864remove { RemoveHandler(DragDrop.PreviewDragEnterEvent, value); } 3883remove { RemoveHandler(DragDrop.DragEnterEvent, value); } 3902remove { RemoveHandler(DragDrop.PreviewDragOverEvent, value); } 3921remove { RemoveHandler(DragDrop.DragOverEvent, value); } 3940remove { RemoveHandler(DragDrop.PreviewDragLeaveEvent, value); } 3959remove { RemoveHandler(DragDrop.DragLeaveEvent, value); } 3978remove { RemoveHandler(DragDrop.PreviewDropEvent, value); } 3997remove { RemoveHandler(DragDrop.DropEvent, value); } 4017remove { RemoveHandler(Touch.PreviewTouchDownEvent, value); } 4037remove { RemoveHandler(Touch.TouchDownEvent, value); } 4057remove { RemoveHandler(Touch.PreviewTouchMoveEvent, value); } 4077remove { RemoveHandler(Touch.TouchMoveEvent, value); } 4097remove { RemoveHandler(Touch.PreviewTouchUpEvent, value); } 4117remove { RemoveHandler(Touch.TouchUpEvent, value); } 4137remove { RemoveHandler(Touch.GotTouchCaptureEvent, value); } 4157remove { RemoveHandler(Touch.LostTouchCaptureEvent, value); } 4177remove { RemoveHandler(Touch.TouchEnterEvent, value); } 4197remove { RemoveHandler(Touch.TouchLeaveEvent, value); }
System\Windows\Input\Command\CommandManager.cs (4)
76element.RemoveHandler(PreviewExecutedEvent, handler); 111element.RemoveHandler(ExecutedEvent, handler); 146element.RemoveHandler(PreviewCanExecuteEvent, handler); 181element.RemoveHandler(CanExecuteEvent, handler);
System\Windows\PresentationSource.cs (1)
214uie.RemoveHandler(SourceChangedEvent, handler);
System\Windows\UIElement.cs (9)
1933uiElement.RemoveHandler(routedEvent, handler); 3493remove { RemoveHandler(GotFocusEvent, value); } 3507remove { RemoveHandler(LostFocusEvent, value); } 4391remove { RemoveHandler(ManipulationStartingEvent, value); } 4416remove { RemoveHandler(ManipulationStartedEvent, value); } 4441remove { RemoveHandler(ManipulationDeltaEvent, value); } 4466remove { RemoveHandler(ManipulationInertiaStartingEvent, value); } 4491remove { RemoveHandler(ManipulationBoundaryFeedbackEvent, value); } 4516remove { RemoveHandler(ManipulationCompletedEvent, value); }
PresentationFramework (93)
MS\Internal\Ink\EditingCoordinator.cs (4)
1035_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1036_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1050_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1051_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
104InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp)); 105InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 106InkCanvas.SelectionAdorner.RemoveHandler(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\SelectionEditor.cs (4)
105InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent)); 106InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 107InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 108InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
System\Windows\Controls\Calendar.cs (1)
58remove { RemoveHandler(SelectedDatesChangedEvent, value); }
System\Windows\Controls\ContextMenu.cs (2)
331RemoveHandler(OpenedEvent, value); 360RemoveHandler(ClosedEvent, value);
System\Windows\Controls\Control.cs (2)
530remove { RemoveHandler(PreviewMouseDoubleClickEvent, value); } 553remove { RemoveHandler(MouseDoubleClickEvent, value); }
System\Windows\Controls\DataGridCell.cs (2)
741RemoveHandler(SelectedEvent, value); 771RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\DataGridRow.cs (2)
1150RemoveHandler(SelectedEvent, value); 1180RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\DatePicker.cs (6)
79remove { RemoveHandler(SelectedDateChangedEvent, value); } 662_popUp.RemoveHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown)); 671_dropDownButton.RemoveHandler(MouseLeaveEvent, new MouseEventHandler(DropDownButton_MouseLeave)); 676_textBox.RemoveHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown)); 677_textBox.RemoveHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged)); 678_textBox.RemoveHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus));
System\Windows\Controls\Expander.cs (2)
180remove { RemoveHandler(ExpandedEvent, value); } 199remove { RemoveHandler(CollapsedEvent, value); }
System\Windows\Controls\Image.cs (2)
163remove { RemoveHandler(ImageFailedEvent, value); } 172remove { 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)
157RemoveHandler(SelectedEvent, value); 177RemoveHandler(UnselectedEvent, value);
System\Windows\Controls\MediaElement.cs (6)
575remove { RemoveHandler(MediaFailedEvent, value); } 595remove { RemoveHandler(MediaOpenedEvent, value); } 614remove { RemoveHandler(BufferingStartedEvent, value); } 633remove { RemoveHandler(BufferingEndedEvent, value); } 652remove { RemoveHandler(ScriptCommandEvent, value); } 671remove { RemoveHandler(MediaEndedEvent, value); }
System\Windows\Controls\MenuItem.cs (5)
232RemoveHandler(MenuItem.ClickEvent, value); 265RemoveHandler(CheckedEvent, value); 282RemoveHandler(UncheckedEvent, value); 311RemoveHandler(SubmenuOpenedEvent, value); 327RemoveHandler(SubmenuClosedEvent, value);
System\Windows\Controls\PasswordBox.cs (1)
405RemoveHandler(PasswordChangedEvent, value);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
187public event RoutedEventHandler Click { add { AddHandler(ClickEvent, value); } remove { RemoveHandler(ClickEvent, value); } }
System\Windows\Controls\Primitives\RangeBase.cs (1)
69public event RoutedPropertyChangedEventHandler<double> ValueChanged { add { AddHandler(ValueChangedEvent, value); } remove { RemoveHandler(ValueChangedEvent, value); } }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
81public event ScrollEventHandler Scroll { add { AddHandler(ScrollEvent, value); } remove { RemoveHandler(ScrollEvent, value); } }
System\Windows\Controls\Primitives\Selector.cs (1)
98remove { RemoveHandler(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
931RemoveHandler(TextChangedEvent, value); 956RemoveHandler(SelectionChangedEvent, value);
System\Windows\Controls\Primitives\Thumb.cs (3)
87public event DragStartedEventHandler DragStarted { add { AddHandler(DragStartedEvent, value); } remove { RemoveHandler(DragStartedEvent, value); } } 93public event DragDeltaEventHandler DragDelta { add { AddHandler(DragDeltaEvent, value); } remove { RemoveHandler(DragDeltaEvent, value); } } 99public event DragCompletedEventHandler DragCompleted { add { AddHandler(DragCompletedEvent, value); } remove { RemoveHandler(DragCompletedEvent, value); } }
System\Windows\Controls\Primitives\ToggleButton.cs (3)
83RemoveHandler(CheckedEvent, value); 100RemoveHandler(UncheckedEvent, value); 117RemoveHandler(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
854remove { RemoveHandler(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
1305closeButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1311iconButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1317titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1318titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1324resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1325resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolTip.cs (2)
382RemoveHandler(OpenedEvent, value); 413RemoveHandler(ClosedEvent, value);
System\Windows\Controls\TreeView.cs (1)
169RemoveHandler(SelectedItemChangedEvent, value);
System\Windows\Controls\TreeViewItem.cs (4)
223RemoveHandler(ExpandedEvent, value); 255RemoveHandler(CollapsedEvent, value); 287RemoveHandler(SelectedEvent, value); 319RemoveHandler(UnselectedEvent, value);
System\windows\Documents\TextEditorMouse.cs (2)
647((ScrollViewer)scrollViewer).RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 676scrollViewer.RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\EventTrigger.cs (1)
361eventTrigger._source.RemoveHandler( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler);
System\Windows\FrameworkElement.cs (10)
2684remove { RemoveHandler(Binding.TargetUpdatedEvent, value); } 2694remove { RemoveHandler(Binding.SourceUpdatedEvent, value); } 3291remove { RemoveHandler(RequestBringIntoViewEvent, value); } 3334remove {RemoveHandler(SizeChangedEvent, value);} 5728RemoveHandler(LoadedEvent, value); 5794RemoveHandler(UnloadedEvent, value); 5953remove { RemoveHandler(ToolTipOpeningEvent, value); } 5985remove { RemoveHandler(ToolTipClosingEvent, value); } 6018remove { RemoveHandler(ContextMenuOpeningEvent, value); } 6045remove { RemoveHandler(ContextMenuClosingEvent, value); }
System\Windows\Input\KeyboardNavigation.cs (2)
2736sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2793((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System\Windows\Interop\HwndHost.cs (1)
124remove { RemoveHandler(HwndHost.DpiChangedEvent, value); }
System\Windows\Window.cs (1)
1661remove { RemoveHandler(Window.DpiChangedEvent, value); }
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
156remove { RemoveHandler(ExpandedEvent, value); } 175remove { RemoveHandler(CollapsedEvent, value); }
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
1604_firstGallery.RemoveHandler(RibbonGalleryItem.SelectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1605_firstGallery.RemoveHandler(RibbonGalleryItem.UnselectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1606_firstGallery.RemoveHandler(Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
631RemoveHandler(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
93RemoveHandler(SelectedEvent, value); 136RemoveHandler(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
978uiElement.RemoveHandler(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
259RemoveHandler(RibbonSplitButton.ClickEvent, value);