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)
128
this.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)
52
element.
AddHandler
(PreviewExecutedEvent, handler);
87
element.
AddHandler
(ExecutedEvent, handler);
122
element.
AddHandler
(PreviewCanExecuteEvent, handler);
157
element.
AddHandler
(CanExecuteEvent, handler);
System\Windows\PresentationSource.cs (1)
135
uie.
AddHandler
(SourceChangedEvent, handler);
System\Windows\UIElement.cs (3)
1884
uiElement.
AddHandler
(routedEvent, handler);
3479
add {
AddHandler
(GotFocusEvent, value); }
3493
add {
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)
79
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
80
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
81
InkCanvas.SelectionAdorner.
AddHandler
(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\SelectionEditor.cs (4)
75
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
76
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
77
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
78
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
System\Windows\Controls\Calendar.cs (1)
53
add {
AddHandler
(SelectedDatesChangedEvent, value); }
System\Windows\Controls\ContextMenu.cs (2)
319
AddHandler
(OpenedEvent, value);
348
AddHandler
(ClosedEvent, value);
System\Windows\Controls\Control.cs (2)
520
add {
AddHandler
(PreviewMouseDoubleClickEvent, value); }
543
add {
AddHandler
(MouseDoubleClickEvent, value); }
System\Windows\Controls\DataGridCell.cs (2)
729
AddHandler
(SelectedEvent, value);
759
AddHandler
(UnselectedEvent, value);
System\Windows\Controls\DataGridRow.cs (2)
1140
AddHandler
(SelectedEvent, value);
1170
AddHandler
(UnselectedEvent, value);
System\Windows\Controls\DatePicker.cs (2)
74
add {
AddHandler
(SelectedDateChangedEvent, value); }
683
_popUp.
AddHandler
(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown));
System\Windows\Controls\Expander.cs (2)
175
add {
AddHandler
(ExpandedEvent, value); }
194
add {
AddHandler
(CollapsedEvent, value); }
System\Windows\Controls\Image.cs (2)
154
add {
AddHandler
(ImageFailedEvent, value); }
163
add {
AddHandler
(Image.DpiChangedEvent, value); }
System\Windows\Controls\InkCanvas.cs (6)
1011
AddHandler
(InkCanvas.StrokeCollectedEvent, value);
1142
AddHandler
(InkCanvas.GestureEvent, value);
1233
AddHandler
(InkCanvas.ActiveEditingModeChangedEvent, value);
1289
AddHandler
(InkCanvas.EditingModeChangedEvent, value);
1343
AddHandler
(InkCanvas.EditingModeInvertedChangedEvent, value);
1491
AddHandler
(InkCanvas.StrokeErasedEvent, value);
System\Windows\Controls\ListBoxItem.cs (2)
146
AddHandler
(SelectedEvent, value);
166
AddHandler
(UnselectedEvent, value);
System\Windows\Controls\MediaElement.cs (6)
567
add {
AddHandler
(MediaFailedEvent, value); }
587
add {
AddHandler
(MediaOpenedEvent, value); }
606
add {
AddHandler
(BufferingStartedEvent, value); }
625
add {
AddHandler
(BufferingEndedEvent, value); }
644
add {
AddHandler
(ScriptCommandEvent, value); }
663
add {
AddHandler
(MediaEndedEvent, value); }
System\Windows\Controls\MenuItem.cs (5)
217
AddHandler
(MenuItem.ClickEvent, value);
250
AddHandler
(CheckedEvent, value);
267
AddHandler
(UncheckedEvent, value);
297
AddHandler
(SubmenuOpenedEvent, value);
313
AddHandler
(SubmenuClosedEvent, value);
System\Windows\Controls\PasswordBox.cs (1)
385
AddHandler
(PasswordChangedEvent, value);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
176
public event RoutedEventHandler Click { add {
AddHandler
(ClickEvent, value); } remove { RemoveHandler(ClickEvent, value); } }
System\Windows\Controls\Primitives\RangeBase.cs (1)
57
public event RoutedPropertyChangedEventHandler<double> ValueChanged { add {
AddHandler
(ValueChangedEvent, value); } remove { RemoveHandler(ValueChangedEvent, value); } }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
65
public event ScrollEventHandler Scroll { add {
AddHandler
(ScrollEvent, value); } remove { RemoveHandler(ScrollEvent, value); } }
System\Windows\Controls\Primitives\Selector.cs (1)
85
add {
AddHandler
(SelectionChangedEvent, value); }
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
919
AddHandler
(TextChangedEvent, value);
944
AddHandler
(SelectionChangedEvent, value);
System\Windows\Controls\Primitives\Thumb.cs (3)
73
public event DragStartedEventHandler DragStarted { add {
AddHandler
(DragStartedEvent, value); } remove { RemoveHandler(DragStartedEvent, value); } }
79
public event DragDeltaEventHandler DragDelta { add {
AddHandler
(DragDeltaEvent, value); } remove { RemoveHandler(DragDeltaEvent, value); } }
85
public event DragCompletedEventHandler DragCompleted { add {
AddHandler
(DragCompletedEvent, value); } remove { RemoveHandler(DragCompletedEvent, value); } }
System\Windows\Controls\Primitives\ToggleButton.cs (3)
66
AddHandler
(CheckedEvent, value);
83
AddHandler
(UncheckedEvent, value);
100
AddHandler
(IndeterminateEvent, value);
System\Windows\Controls\ScrollViewer.cs (1)
845
add {
AddHandler
(ScrollChangedEvent, value); }
System\Windows\Controls\StickyNote.cs (6)
172
button.
AddHandler
(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick));
180
closeButton.
AddHandler
(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick));
186
titleThumb.
AddHandler
(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
187
titleThumb.
AddHandler
(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
193
resizeThumb.
AddHandler
(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
194
resizeThumb.
AddHandler
(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolTip.cs (2)
365
AddHandler
(OpenedEvent, value);
396
AddHandler
(ClosedEvent, value);
System\Windows\Controls\TreeView.cs (1)
159
AddHandler
(SelectedItemChangedEvent, value);
System\Windows\Controls\TreeViewItem.cs (4)
214
AddHandler
(ExpandedEvent, value);
246
AddHandler
(CollapsedEvent, value);
278
AddHandler
(SelectedEvent, value);
310
AddHandler
(UnselectedEvent, value);
System\windows\Documents\TextEditorMouse.cs (1)
614
((ScrollViewer)scrollViewer).
AddHandler
(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\FrameworkElement.cs (6)
2667
add {
AddHandler
(Binding.TargetUpdatedEvent, value); }
2677
add {
AddHandler
(Binding.SourceUpdatedEvent, value); }
5946
add {
AddHandler
(ToolTipOpeningEvent, value); }
5978
add {
AddHandler
(ToolTipClosingEvent, value); }
6011
add {
AddHandler
(ContextMenuOpeningEvent, value); }
6038
add {
AddHandler
(ContextMenuClosingEvent, value); }
System\Windows\Interop\HwndHost.cs (1)
118
add {
AddHandler
(HwndHost.DpiChangedEvent, value); }
System\Windows\Markup\BamlRecordReader.cs (1)
2838
uiel.
AddHandler
(reid, d);
System\Windows\Window.cs (1)
1639
add {
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)
626
AddHandler
(SelectionChangedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
87
AddHandler
(SelectedEvent, value);
130
AddHandler
(UnselectedEvent, value);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
949
uiElement.
AddHandler
(routedEvent, handler);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
252
AddHandler
(RibbonSplitButton.ClickEvent, value);