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)
114/// <see cref="UIElement.AddHandler(RoutedEvent, Delegate)"/> <para/>
System\Windows\Input\Command\CommandManager.cs (4)
63element.AddHandler(PreviewExecutedEvent, handler); 98element.AddHandler(ExecutedEvent, handler); 133element.AddHandler(PreviewCanExecuteEvent, handler); 168element.AddHandler(CanExecuteEvent, handler);
System\Windows\PresentationSource.cs (1)
145uie.AddHandler(SourceChangedEvent, handler);
System\Windows\UIElement.cs (3)
1897uiElement.AddHandler(routedEvent, handler); 3492add { AddHandler(GotFocusEvent, value); } 3506add { AddHandler(LostFocusEvent, value); }
PresentationFramework (85)
MS\Internal\Ink\EditingCoordinator.cs (7)
63_inkCanvas.AddHandler(Stylus.StylusInRangeEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 64_inkCanvas.AddHandler(Stylus.StylusInAirMoveEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 65_inkCanvas.AddHandler(Stylus.StylusOutOfRangeEvent, new StylusEventHandler(OnInkCanvasStylusOutOfRange)); 982_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 983_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1012_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1013_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
92InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp)); 93InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 94InkCanvas.SelectionAdorner.AddHandler(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\SelectionEditor.cs (4)
90InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent)); 91InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 92InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent)); 93InkCanvas.SelectionAdorner.AddHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
System\Windows\Controls\Calendar.cs (1)
57add { AddHandler(SelectedDatesChangedEvent, value); }
System\Windows\Controls\ContextMenu.cs (2)
327AddHandler(OpenedEvent, value); 356AddHandler(ClosedEvent, value);
System\Windows\Controls\Control.cs (2)
529add { AddHandler(PreviewMouseDoubleClickEvent, value); } 552add { AddHandler(MouseDoubleClickEvent, value); }
System\Windows\Controls\DataGridCell.cs (2)
736AddHandler(SelectedEvent, value); 766AddHandler(UnselectedEvent, value);
System\Windows\Controls\DataGridRow.cs (2)
1145AddHandler(SelectedEvent, value); 1175AddHandler(UnselectedEvent, value);
System\Windows\Controls\DatePicker.cs (2)
78add { AddHandler(SelectedDateChangedEvent, value); } 687_popUp.AddHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown));
System\Windows\Controls\Expander.cs (2)
179add { AddHandler(ExpandedEvent, value); } 198add { AddHandler(CollapsedEvent, value); }
System\Windows\Controls\Image.cs (2)
162add { AddHandler(ImageFailedEvent, value); } 171add { 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)
153AddHandler(SelectedEvent, value); 173AddHandler(UnselectedEvent, value);
System\Windows\Controls\MediaElement.cs (6)
574add { AddHandler(MediaFailedEvent, value); } 594add { AddHandler(MediaOpenedEvent, value); } 613add { AddHandler(BufferingStartedEvent, value); } 632add { AddHandler(BufferingEndedEvent, value); } 651add { AddHandler(ScriptCommandEvent, value); } 670add { AddHandler(MediaEndedEvent, value); }
System\Windows\Controls\MenuItem.cs (5)
227AddHandler(MenuItem.ClickEvent, value); 260AddHandler(CheckedEvent, value); 277AddHandler(UncheckedEvent, value); 307AddHandler(SubmenuOpenedEvent, value); 323AddHandler(SubmenuClosedEvent, value);
System\Windows\Controls\PasswordBox.cs (1)
400AddHandler(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)
97add { AddHandler(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
926AddHandler(TextChangedEvent, value); 951AddHandler(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)
78AddHandler(CheckedEvent, value); 95AddHandler(UncheckedEvent, value); 112AddHandler(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
853add { AddHandler(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
199button.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 207closeButton.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 213titleThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 214titleThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 220resizeThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 221resizeThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolTip.cs (2)
378AddHandler(OpenedEvent, value); 409AddHandler(ClosedEvent, value);
System\Windows\Controls\TreeView.cs (1)
164AddHandler(SelectedItemChangedEvent, value);
System\Windows\Controls\TreeViewItem.cs (4)
218AddHandler(ExpandedEvent, value); 250AddHandler(CollapsedEvent, value); 282AddHandler(SelectedEvent, value); 314AddHandler(UnselectedEvent, value);
System\windows\Documents\TextEditorMouse.cs (1)
628((ScrollViewer)scrollViewer).AddHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\FrameworkElement.cs (6)
2683add { AddHandler(Binding.TargetUpdatedEvent, value); } 2693add { AddHandler(Binding.SourceUpdatedEvent, value); } 5952add { AddHandler(ToolTipOpeningEvent, value); } 5984add { AddHandler(ToolTipClosingEvent, value); } 6017add { AddHandler(ContextMenuOpeningEvent, value); } 6044add { AddHandler(ContextMenuClosingEvent, value); }
System\Windows\Interop\HwndHost.cs (1)
123add { AddHandler(HwndHost.DpiChangedEvent, value); }
System\Windows\Markup\BamlRecordReader.cs (1)
2851uiel.AddHandler(reid, d);
System\Windows\Window.cs (1)
1660add { AddHandler(Window.DpiChangedEvent, value); }
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1617_firstGallery.AddHandler(RibbonGalleryItem.SelectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged)); 1618_firstGallery.AddHandler(RibbonGalleryItem.UnselectedEvent, new RoutedEventHandler(OnGalleryItemSelectionChanged));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
626AddHandler(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
89AddHandler(SelectedEvent, value); 132AddHandler(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
950uiElement.AddHandler(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
254AddHandler(RibbonSplitButton.ClickEvent, value);