Implemented interface member:
method
RemoveHandler
System.Windows.IInputElement.RemoveHandler(System.Windows.RoutedEvent, System.Delegate)
168 references to RemoveHandler
PresentationCore (67)
Core\CSharp\System\Windows\Generated\UIElement.cs (53)
3166remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); } 3185remove { RemoveHandler(Mouse.MouseDownEvent, value); } 3204remove { RemoveHandler(Mouse.PreviewMouseUpEvent, value); } 3223remove { RemoveHandler(Mouse.MouseUpEvent, value); } 3242remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 3261remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 3280remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 3299remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 3318remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 3337remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 3356remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 3375remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 3394remove { RemoveHandler(Mouse.PreviewMouseMoveEvent, value); } 3413remove { RemoveHandler(Mouse.MouseMoveEvent, value); } 3432remove { RemoveHandler(Mouse.PreviewMouseWheelEvent, value); } 3451remove { RemoveHandler(Mouse.MouseWheelEvent, value); } 3470remove { RemoveHandler(Mouse.MouseEnterEvent, value); } 3489remove { RemoveHandler(Mouse.MouseLeaveEvent, value); } 3508remove { RemoveHandler(Mouse.GotMouseCaptureEvent, value); } 3527remove { RemoveHandler(Mouse.LostMouseCaptureEvent, value); } 3546remove { RemoveHandler(Mouse.QueryCursorEvent, value); } 3983remove { RemoveHandler(Keyboard.PreviewKeyDownEvent, value); } 4002remove { RemoveHandler(Keyboard.KeyDownEvent, value); } 4021remove { RemoveHandler(Keyboard.PreviewKeyUpEvent, value); } 4040remove { RemoveHandler(Keyboard.KeyUpEvent, value); } 4059remove { RemoveHandler(Keyboard.PreviewGotKeyboardFocusEvent, value); } 4078remove { RemoveHandler(Keyboard.GotKeyboardFocusEvent, value); } 4097remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); } 4116remove { RemoveHandler(Keyboard.LostKeyboardFocusEvent, value); } 4135remove { RemoveHandler(TextCompositionManager.PreviewTextInputEvent, value); } 4154remove { RemoveHandler(TextCompositionManager.TextInputEvent, value); } 4173remove { RemoveHandler(DragDrop.PreviewQueryContinueDragEvent, value); } 4192remove { RemoveHandler(DragDrop.QueryContinueDragEvent, value); } 4211remove { RemoveHandler(DragDrop.PreviewGiveFeedbackEvent, value); } 4230remove { RemoveHandler(DragDrop.GiveFeedbackEvent, value); } 4249remove { RemoveHandler(DragDrop.PreviewDragEnterEvent, value); } 4268remove { RemoveHandler(DragDrop.DragEnterEvent, value); } 4287remove { RemoveHandler(DragDrop.PreviewDragOverEvent, value); } 4306remove { RemoveHandler(DragDrop.DragOverEvent, value); } 4325remove { RemoveHandler(DragDrop.PreviewDragLeaveEvent, value); } 4344remove { RemoveHandler(DragDrop.DragLeaveEvent, value); } 4363remove { RemoveHandler(DragDrop.PreviewDropEvent, value); } 4382remove { RemoveHandler(DragDrop.DropEvent, value); } 4402remove { RemoveHandler(Touch.PreviewTouchDownEvent, value); } 4422remove { RemoveHandler(Touch.TouchDownEvent, value); } 4442remove { RemoveHandler(Touch.PreviewTouchMoveEvent, value); } 4462remove { RemoveHandler(Touch.TouchMoveEvent, value); } 4482remove { RemoveHandler(Touch.PreviewTouchUpEvent, value); } 4502remove { RemoveHandler(Touch.TouchUpEvent, value); } 4522remove { RemoveHandler(Touch.GotTouchCaptureEvent, value); } 4542remove { RemoveHandler(Touch.LostTouchCaptureEvent, value); } 4562remove { RemoveHandler(Touch.TouchEnterEvent, value); } 4582remove { RemoveHandler(Touch.TouchLeaveEvent, value); }
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (4)
89element.RemoveHandler(PreviewExecutedEvent, handler); 136element.RemoveHandler(ExecutedEvent, handler); 183element.RemoveHandler(PreviewCanExecuteEvent, handler); 230element.RemoveHandler(CanExecuteEvent, handler);
Core\CSharp\System\Windows\PresentationSource.cs (1)
250uie.RemoveHandler(SourceChangedEvent, handler);
Core\CSharp\System\Windows\UIElement.cs (9)
1961uiElement.RemoveHandler(routedEvent, handler); 3528remove { RemoveHandler(GotFocusEvent, value); } 3542remove { RemoveHandler(LostFocusEvent, value); } 4434remove { RemoveHandler(ManipulationStartingEvent, value); } 4459remove { RemoveHandler(ManipulationStartedEvent, value); } 4484remove { RemoveHandler(ManipulationDeltaEvent, value); } 4509remove { RemoveHandler(ManipulationInertiaStartingEvent, value); } 4534remove { RemoveHandler(ManipulationBoundaryFeedbackEvent, value); } 4559remove { RemoveHandler(ManipulationCompletedEvent, value); }
PresentationFramework (88)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
1095_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1096_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (3)
107InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp)); 108InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 109InkCanvas.SelectionAdorner.RemoveHandler(UIElement.LostMouseCaptureEvent,
src\Framework\MS\Internal\Ink\SelectionEditor.cs (4)
111InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent)); 112InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 113InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 114InkCanvas.SelectionAdorner.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
src\Framework\System\Windows\Controls\Calendar.cs (1)
59remove { RemoveHandler(SelectedDatesChangedEvent, value); }
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
335RemoveHandler(OpenedEvent, value); 364RemoveHandler(ClosedEvent, value);
src\Framework\System\Windows\Controls\Control.cs (2)
531remove { RemoveHandler(PreviewMouseDoubleClickEvent, value); } 554remove { RemoveHandler(MouseDoubleClickEvent, value); }
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
736RemoveHandler(SelectedEvent, value); 766RemoveHandler(UnselectedEvent, value);
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
1151RemoveHandler(SelectedEvent, value); 1181RemoveHandler(UnselectedEvent, value);
src\Framework\System\Windows\Controls\DatePicker.cs (6)
80remove { RemoveHandler(SelectedDateChangedEvent, value); } 651_popUp.RemoveHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown)); 660_dropDownButton.RemoveHandler(MouseLeaveEvent, new MouseEventHandler(DropDownButton_MouseLeave)); 665_textBox.RemoveHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown)); 666_textBox.RemoveHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged)); 667_textBox.RemoveHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus));
src\Framework\System\Windows\Controls\Expander.cs (2)
181remove { RemoveHandler(ExpandedEvent, value); } 200remove { RemoveHandler(CollapsedEvent, value); }
src\Framework\System\Windows\Controls\Image.cs (1)
168remove { RemoveHandler(ImageFailedEvent, value); }
src\Framework\System\Windows\Controls\InkCanvas.cs (6)
1042RemoveHandler(InkCanvas.StrokeCollectedEvent, value); 1181RemoveHandler(InkCanvas.GestureEvent, value); 1280RemoveHandler(InkCanvas.ActiveEditingModeChangedEvent, value); 1340RemoveHandler(InkCanvas.EditingModeChangedEvent, value); 1397RemoveHandler(InkCanvas.EditingModeInvertedChangedEvent, value); 1557RemoveHandler(InkCanvas.StrokeErasedEvent, value);
src\Framework\System\Windows\Controls\ListBoxItem.cs (2)
157RemoveHandler(SelectedEvent, value); 177RemoveHandler(UnselectedEvent, value);
src\Framework\System\Windows\Controls\MediaElement.cs (6)
580remove { RemoveHandler(MediaFailedEvent, value); } 600remove { RemoveHandler(MediaOpenedEvent, value); } 619remove { RemoveHandler(BufferingStartedEvent, value); } 638remove { RemoveHandler(BufferingEndedEvent, value); } 657remove { RemoveHandler(ScriptCommandEvent, value); } 676remove { RemoveHandler(MediaEndedEvent, value); }
src\Framework\System\Windows\Controls\MenuItem.cs (5)
235RemoveHandler(MenuItem.ClickEvent, value); 268RemoveHandler(CheckedEvent, value); 285RemoveHandler(UncheckedEvent, value); 314RemoveHandler(SubmenuOpenedEvent, value); 330RemoveHandler(SubmenuClosedEvent, value);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
421RemoveHandler(PasswordChangedEvent, value);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
184public event RoutedEventHandler Click { add { AddHandler(ClickEvent, value); } remove { RemoveHandler(ClickEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
70public event RoutedPropertyChangedEventHandler<double> ValueChanged { add { AddHandler(ValueChangedEvent, value); } remove { RemoveHandler(ValueChangedEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
83public event ScrollEventHandler Scroll { add { AddHandler(ScrollEvent, value); } remove { RemoveHandler(ScrollEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
99remove { RemoveHandler(SelectionChangedEvent, value); }
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
954RemoveHandler(TextChangedEvent, value); 979RemoveHandler(SelectionChangedEvent, value);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (3)
84public event DragStartedEventHandler DragStarted { add { AddHandler(DragStartedEvent, value); } remove { RemoveHandler(DragStartedEvent, value); } } 90public event DragDeltaEventHandler DragDelta { add { AddHandler(DragDeltaEvent, value); } remove { RemoveHandler(DragDeltaEvent, value); } } 96public event DragCompletedEventHandler DragCompleted { add { AddHandler(DragCompletedEvent, value); } remove { RemoveHandler(DragCompletedEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (3)
85RemoveHandler(CheckedEvent, value); 102RemoveHandler(UncheckedEvent, value); 119RemoveHandler(IndeterminateEvent, value);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
881remove { RemoveHandler(ScrollChangedEvent, value); }
src\Framework\System\Windows\Controls\StickyNote.cs (6)
1315closeButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1321iconButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1327titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1328titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1334resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1335resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
src\Framework\System\Windows\Controls\ToolTip.cs (2)
374RemoveHandler(OpenedEvent, value); 405RemoveHandler(ClosedEvent, value);
src\Framework\System\Windows\Controls\TreeView.cs (1)
170RemoveHandler(SelectedItemChangedEvent, value);
src\Framework\System\Windows\Controls\TreeViewItem.cs (4)
224RemoveHandler(ExpandedEvent, value); 256RemoveHandler(CollapsedEvent, value); 288RemoveHandler(SelectedEvent, value); 320RemoveHandler(UnselectedEvent, value);
src\Framework\System\windows\Documents\TextEditorMouse.cs (2)
648((ScrollViewer)scrollViewer).RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 677scrollViewer.RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
src\Framework\System\Windows\EventTrigger.cs (1)
363eventTrigger._source.RemoveHandler( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler);
src\Framework\System\Windows\FrameworkElement.cs (10)
2682remove { RemoveHandler(Binding.TargetUpdatedEvent, value); } 2692remove { RemoveHandler(Binding.SourceUpdatedEvent, value); } 3290remove { RemoveHandler(RequestBringIntoViewEvent, value); } 3333remove {RemoveHandler(SizeChangedEvent, value);} 5726RemoveHandler(LoadedEvent, value); 5792RemoveHandler(UnloadedEvent, value); 5959remove { RemoveHandler(ToolTipOpeningEvent, value); } 5991remove { RemoveHandler(ToolTipClosingEvent, value); } 6024remove { RemoveHandler(ContextMenuOpeningEvent, value); } 6051remove { RemoveHandler(ContextMenuClosingEvent, value); }
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
2824sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2882((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
63remove { RemoveHandler(ValueCommittedEvent, value); } 76remove { RemoveHandler(EditCancelledEvent, value); }
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelection.cs (2)
286target.RemoveHandler(UIElement.MouseDownEvent, new MouseButtonEventHandler(OnSelectionStopDoubleClickTargetMouseDown)); 445target.RemoveHandler(UIElement.KeyDownEvent, new KeyEventHandler(OnKeyDownTargetKeyDown));
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
107RemoveHandler(ToolCreatedEvent, value); 119RemoveHandler(ToolSelectedEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
202this.RemoveHandler(ExpressionTextBox.EditorLostLogicalFocusEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
127RemoveHandler(ClosingEvent, value); 140RemoveHandler(CloseEvent, value); 152RemoveHandler(VisibilityChangedEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (3)
264remove { this.RemoveHandler(TypeBrowserOpenedEvent, value); } 270remove { this.RemoveHandler(TypeBrowserClosedEvent, value); } 276remove { this.RemoveHandler(TypeChangedEvent, value); }