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