Implemented interface member:
method
AddHandler
System.Windows.IInputElement.AddHandler(System.Windows.RoutedEvent, System.Delegate)
102 references to AddHandler
Microsoft.VisualStudio.LanguageServices (1)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\DocumentOutline\DocumentOutlineView.g.cs (1)
128this.SymbolTree.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.SymbolTreeItem_Selected));
PresentationCore (9)
System\Windows\EventManager.cs (1)
109/// <see cref="UIElement.AddHandler(RoutedEvent, Delegate)"/> <para/>
System\Windows\Input\Command\CommandManager.cs (4)
52element.AddHandler(PreviewExecutedEvent, handler); 87element.AddHandler(ExecutedEvent, handler); 122element.AddHandler(PreviewCanExecuteEvent, handler); 157element.AddHandler(CanExecuteEvent, handler);
System\Windows\PresentationSource.cs (1)
135uie.AddHandler(SourceChangedEvent, handler);
System\Windows\UIElement.cs (3)
1884uiElement.AddHandler(routedEvent, handler); 3479add { AddHandler(GotFocusEvent, value); } 3493add { AddHandler(LostFocusEvent, value); }
PresentationFramework (85)
MS\Internal\Ink\EditingCoordinator.cs (7)
48_inkCanvas.AddHandler(Stylus.StylusInRangeEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 49_inkCanvas.AddHandler(Stylus.StylusInAirMoveEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 50_inkCanvas.AddHandler(Stylus.StylusOutOfRangeEvent, new StylusEventHandler(OnInkCanvasStylusOutOfRange)); 967_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 968_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 997_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 998_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
79InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp)); 80InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 81InkCanvas.SelectionAdorner.AddHandler(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\SelectionEditor.cs (4)
75InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent)); 76InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 77InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 78InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
System\Windows\Controls\Calendar.cs (1)
53add { AddHandler(SelectedDatesChangedEvent, value); }
System\Windows\Controls\ContextMenu.cs (2)
319AddHandler(OpenedEvent, value); 348AddHandler(ClosedEvent, value);
System\Windows\Controls\Control.cs (2)
520add { AddHandler(PreviewMouseDoubleClickEvent, value); } 543add { AddHandler(MouseDoubleClickEvent, value); }
System\Windows\Controls\DataGridCell.cs (2)
729AddHandler(SelectedEvent, value); 759AddHandler(UnselectedEvent, value);
System\Windows\Controls\DataGridRow.cs (2)
1140AddHandler(SelectedEvent, value); 1170AddHandler(UnselectedEvent, value);
System\Windows\Controls\DatePicker.cs (2)
74add { AddHandler(SelectedDateChangedEvent, value); } 683_popUp.AddHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown));
System\Windows\Controls\Expander.cs (2)
175add { AddHandler(ExpandedEvent, value); } 194add { AddHandler(CollapsedEvent, value); }
System\Windows\Controls\Image.cs (2)
154add { AddHandler(ImageFailedEvent, value); } 163add { AddHandler(Image.DpiChangedEvent, value); }
System\Windows\Controls\InkCanvas.cs (6)
1011AddHandler(InkCanvas.StrokeCollectedEvent, value); 1142AddHandler(InkCanvas.GestureEvent, value); 1233AddHandler(InkCanvas.ActiveEditingModeChangedEvent, value); 1289AddHandler(InkCanvas.EditingModeChangedEvent, value); 1343AddHandler(InkCanvas.EditingModeInvertedChangedEvent, value); 1491AddHandler(InkCanvas.StrokeErasedEvent, value);
System\Windows\Controls\ListBoxItem.cs (2)
146AddHandler(SelectedEvent, value); 166AddHandler(UnselectedEvent, value);
System\Windows\Controls\MediaElement.cs (6)
567add { AddHandler(MediaFailedEvent, value); } 587add { AddHandler(MediaOpenedEvent, value); } 606add { AddHandler(BufferingStartedEvent, value); } 625add { AddHandler(BufferingEndedEvent, value); } 644add { AddHandler(ScriptCommandEvent, value); } 663add { AddHandler(MediaEndedEvent, value); }
System\Windows\Controls\MenuItem.cs (5)
217AddHandler(MenuItem.ClickEvent, value); 250AddHandler(CheckedEvent, value); 267AddHandler(UncheckedEvent, value); 297AddHandler(SubmenuOpenedEvent, value); 313AddHandler(SubmenuClosedEvent, value);
System\Windows\Controls\PasswordBox.cs (1)
385AddHandler(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)
85add { AddHandler(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
919AddHandler(TextChangedEvent, value); 944AddHandler(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)
66AddHandler(CheckedEvent, value); 83AddHandler(UncheckedEvent, value); 100AddHandler(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
845add { AddHandler(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
172button.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 180closeButton.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 186titleThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 187titleThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 193resizeThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 194resizeThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolTip.cs (2)
365AddHandler(OpenedEvent, value); 396AddHandler(ClosedEvent, value);
System\Windows\Controls\TreeView.cs (1)
159AddHandler(SelectedItemChangedEvent, value);
System\Windows\Controls\TreeViewItem.cs (4)
214AddHandler(ExpandedEvent, value); 246AddHandler(CollapsedEvent, value); 278AddHandler(SelectedEvent, value); 310AddHandler(UnselectedEvent, value);
System\windows\Documents\TextEditorMouse.cs (1)
614((ScrollViewer)scrollViewer).AddHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\FrameworkElement.cs (6)
2667add { AddHandler(Binding.TargetUpdatedEvent, value); } 2677add { AddHandler(Binding.SourceUpdatedEvent, value); } 5946add { AddHandler(ToolTipOpeningEvent, value); } 5978add { AddHandler(ToolTipClosingEvent, value); } 6011add { AddHandler(ContextMenuOpeningEvent, value); } 6038add { AddHandler(ContextMenuClosingEvent, value); }
System\Windows\Interop\HwndHost.cs (1)
118add { AddHandler(HwndHost.DpiChangedEvent, value); }
System\Windows\Markup\BamlRecordReader.cs (1)
2838uiel.AddHandler(reid, d);
System\Windows\Window.cs (1)
1639add { AddHandler(Window.DpiChangedEvent, value); }
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1619_firstGallery.AddHandler(RibbonGalleryItem.SelectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1620_firstGallery.AddHandler(RibbonGalleryItem.UnselectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
626AddHandler(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
87AddHandler(SelectedEvent, value); 130AddHandler(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
949uiElement.AddHandler(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
252AddHandler(RibbonSplitButton.ClickEvent, value);