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)
2777remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); } 2796remove { RemoveHandler(Mouse.MouseDownEvent, value); } 2815remove { RemoveHandler(Mouse.PreviewMouseUpEvent, value); } 2834remove { RemoveHandler(Mouse.MouseUpEvent, value); } 2853remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 2872remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 2891remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 2910remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 2929remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 2948remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 2967remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 2986remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 3005remove { RemoveHandler(Mouse.PreviewMouseMoveEvent, value); } 3024remove { RemoveHandler(Mouse.MouseMoveEvent, value); } 3043remove { RemoveHandler(Mouse.PreviewMouseWheelEvent, value); } 3062remove { RemoveHandler(Mouse.MouseWheelEvent, value); } 3081remove { RemoveHandler(Mouse.MouseEnterEvent, value); } 3100remove { RemoveHandler(Mouse.MouseLeaveEvent, value); } 3119remove { RemoveHandler(Mouse.GotMouseCaptureEvent, value); } 3138remove { RemoveHandler(Mouse.LostMouseCaptureEvent, value); } 3157remove { RemoveHandler(Mouse.QueryCursorEvent, value); } 3176remove { RemoveHandler(Stylus.PreviewStylusDownEvent, value); } 3195remove { RemoveHandler(Stylus.StylusDownEvent, value); } 3214remove { RemoveHandler(Stylus.PreviewStylusUpEvent, value); } 3233remove { RemoveHandler(Stylus.StylusUpEvent, value); } 3252remove { RemoveHandler(Stylus.PreviewStylusMoveEvent, value); } 3271remove { RemoveHandler(Stylus.StylusMoveEvent, value); } 3290remove { RemoveHandler(Stylus.PreviewStylusInAirMoveEvent, value); } 3309remove { RemoveHandler(Stylus.StylusInAirMoveEvent, value); } 3328remove { RemoveHandler(Stylus.StylusEnterEvent, value); } 3347remove { RemoveHandler(Stylus.StylusLeaveEvent, value); } 3366remove { RemoveHandler(Stylus.PreviewStylusInRangeEvent, value); } 3385remove { RemoveHandler(Stylus.StylusInRangeEvent, value); } 3404remove { RemoveHandler(Stylus.PreviewStylusOutOfRangeEvent, value); } 3423remove { RemoveHandler(Stylus.StylusOutOfRangeEvent, value); } 3442remove { RemoveHandler(Stylus.PreviewStylusSystemGestureEvent, value); } 3461remove { RemoveHandler(Stylus.StylusSystemGestureEvent, value); } 3480remove { RemoveHandler(Stylus.GotStylusCaptureEvent, value); } 3499remove { RemoveHandler(Stylus.LostStylusCaptureEvent, value); } 3518remove { RemoveHandler(Stylus.StylusButtonDownEvent, value); } 3537remove { RemoveHandler(Stylus.StylusButtonUpEvent, value); } 3556remove { RemoveHandler(Stylus.PreviewStylusButtonDownEvent, value); } 3575remove { RemoveHandler(Stylus.PreviewStylusButtonUpEvent, value); } 3594remove { RemoveHandler(Keyboard.PreviewKeyDownEvent, value); } 3613remove { RemoveHandler(Keyboard.KeyDownEvent, value); } 3632remove { RemoveHandler(Keyboard.PreviewKeyUpEvent, value); } 3651remove { RemoveHandler(Keyboard.KeyUpEvent, value); } 3670remove { RemoveHandler(Keyboard.PreviewGotKeyboardFocusEvent, value); } 3689remove { RemoveHandler(Keyboard.GotKeyboardFocusEvent, value); } 3708remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); } 3727remove { RemoveHandler(Keyboard.LostKeyboardFocusEvent, value); } 3746remove { RemoveHandler(TextCompositionManager.PreviewTextInputEvent, value); } 3765remove { RemoveHandler(TextCompositionManager.TextInputEvent, value); } 3784remove { RemoveHandler(DragDrop.PreviewQueryContinueDragEvent, value); } 3803remove { RemoveHandler(DragDrop.QueryContinueDragEvent, value); } 3822remove { RemoveHandler(DragDrop.PreviewGiveFeedbackEvent, value); } 3841remove { RemoveHandler(DragDrop.GiveFeedbackEvent, value); } 3860remove { RemoveHandler(DragDrop.PreviewDragEnterEvent, value); } 3879remove { RemoveHandler(DragDrop.DragEnterEvent, value); } 3898remove { RemoveHandler(DragDrop.PreviewDragOverEvent, value); } 3917remove { RemoveHandler(DragDrop.DragOverEvent, value); } 3936remove { RemoveHandler(DragDrop.PreviewDragLeaveEvent, value); } 3955remove { RemoveHandler(DragDrop.DragLeaveEvent, value); } 3974remove { RemoveHandler(DragDrop.PreviewDropEvent, value); } 3993remove { RemoveHandler(DragDrop.DropEvent, value); } 4013remove { RemoveHandler(Touch.PreviewTouchDownEvent, value); } 4033remove { RemoveHandler(Touch.TouchDownEvent, value); } 4053remove { RemoveHandler(Touch.PreviewTouchMoveEvent, value); } 4073remove { RemoveHandler(Touch.TouchMoveEvent, value); } 4093remove { RemoveHandler(Touch.PreviewTouchUpEvent, value); } 4113remove { RemoveHandler(Touch.TouchUpEvent, value); } 4133remove { RemoveHandler(Touch.GotTouchCaptureEvent, value); } 4153remove { RemoveHandler(Touch.LostTouchCaptureEvent, value); } 4173remove { RemoveHandler(Touch.TouchEnterEvent, value); } 4193remove { 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)
1928uiElement.RemoveHandler(routedEvent, handler); 3488remove { RemoveHandler(GotFocusEvent, value); } 3502remove { RemoveHandler(LostFocusEvent, value); } 4386remove { RemoveHandler(ManipulationStartingEvent, value); } 4411remove { RemoveHandler(ManipulationStartedEvent, value); } 4436remove { RemoveHandler(ManipulationDeltaEvent, value); } 4461remove { RemoveHandler(ManipulationInertiaStartingEvent, value); } 4486remove { RemoveHandler(ManipulationBoundaryFeedbackEvent, value); } 4511remove { 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)
1146RemoveHandler(SelectedEvent, value); 1176RemoveHandler(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)
1004RemoveHandler(InkCanvas.StrokeCollectedEvent, value); 1135RemoveHandler(InkCanvas.GestureEvent, value); 1225RemoveHandler(InkCanvas.ActiveEditingModeChangedEvent, value); 1282RemoveHandler(InkCanvas.EditingModeChangedEvent, value); 1336RemoveHandler(InkCanvas.EditingModeInvertedChangedEvent, value); 1484RemoveHandler(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)
397RemoveHandler(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)
89remove { RemoveHandler(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
922RemoveHandler(TextChangedEvent, value); 947RemoveHandler(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)
74RemoveHandler(CheckedEvent, value); 91RemoveHandler(UncheckedEvent, value); 108RemoveHandler(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
846remove { RemoveHandler(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
1289closeButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1295iconButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1301titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1302titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1308resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1309resizeThumb.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)
358eventTrigger._source.RemoveHandler( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler);
System\Windows\FrameworkElement.cs (10)
2673remove { RemoveHandler(Binding.TargetUpdatedEvent, value); } 2683remove { RemoveHandler(Binding.SourceUpdatedEvent, value); } 3280remove { RemoveHandler(RequestBringIntoViewEvent, value); } 3323remove {RemoveHandler(SizeChangedEvent, value);} 5717RemoveHandler(LoadedEvent, value); 5783RemoveHandler(UnloadedEvent, value); 5942remove { RemoveHandler(ToolTipOpeningEvent, value); } 5974remove { RemoveHandler(ToolTipClosingEvent, value); } 6007remove { RemoveHandler(ContextMenuOpeningEvent, value); } 6034remove { RemoveHandler(ContextMenuClosingEvent, value); }
System\Windows\Input\KeyboardNavigation.cs (2)
2726sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2783((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System\Windows\Interop\HwndHost.cs (1)
122remove { RemoveHandler(HwndHost.DpiChangedEvent, value); }
System\Windows\Window.cs (1)
1648remove { 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)
1602_firstGallery.RemoveHandler(RibbonGalleryItem.SelectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1603_firstGallery.RemoveHandler(RibbonGalleryItem.UnselectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1604_firstGallery.RemoveHandler(Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
629RemoveHandler(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
91RemoveHandler(SelectedEvent, value); 134RemoveHandler(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
973uiElement.RemoveHandler(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
257RemoveHandler(RibbonSplitButton.ClickEvent, value);