Implemented interface member:
method
AddHandler
System.Windows.IInputElement.AddHandler(System.Windows.RoutedEvent, System.Delegate)
100 references to AddHandler
PresentationCore (9)
Core\CSharp\System\Windows\EventManager.cs (1)
122
/// <see cref="UIElement.
AddHandler
(RoutedEvent, Delegate)"/> <para/>
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (4)
70
element.
AddHandler
(PreviewExecutedEvent, handler);
117
element.
AddHandler
(ExecutedEvent, handler);
164
element.
AddHandler
(PreviewCanExecuteEvent, handler);
211
element.
AddHandler
(CanExecuteEvent, handler);
Core\CSharp\System\Windows\PresentationSource.cs (1)
183
uie.
AddHandler
(SourceChangedEvent, handler);
Core\CSharp\System\Windows\UIElement.cs (3)
1921
uiElement.
AddHandler
(routedEvent, handler);
3527
add {
AddHandler
(GotFocusEvent, value); }
3541
add {
AddHandler
(LostFocusEvent, value); }
PresentationFramework (78)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
114
AddHandler
(Hyperlink.RequestSetStatusBarEvent, new RoutedEventHandler(OnRequestSetStatusBar_Hyperlink));
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
1057
_inkCanvas.
AddHandler
(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>));
1058
_inkCanvas.
AddHandler
(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (3)
94
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
95
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
96
InkCanvas.SelectionAdorner.
AddHandler
(UIElement.LostMouseCaptureEvent,
src\Framework\MS\Internal\Ink\SelectionEditor.cs (4)
96
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
97
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
98
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
99
InkCanvas.SelectionAdorner.
AddHandler
(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
src\Framework\System\Windows\Controls\Calendar.cs (1)
58
add {
AddHandler
(SelectedDatesChangedEvent, value); }
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
331
AddHandler
(OpenedEvent, value);
360
AddHandler
(ClosedEvent, value);
src\Framework\System\Windows\Controls\Control.cs (2)
530
add {
AddHandler
(PreviewMouseDoubleClickEvent, value); }
553
add {
AddHandler
(MouseDoubleClickEvent, value); }
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
731
AddHandler
(SelectedEvent, value);
761
AddHandler
(UnselectedEvent, value);
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
1146
AddHandler
(SelectedEvent, value);
1176
AddHandler
(UnselectedEvent, value);
src\Framework\System\Windows\Controls\DatePicker.cs (2)
79
add {
AddHandler
(SelectedDateChangedEvent, value); }
676
_popUp.
AddHandler
(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopUp_PreviewMouseLeftButtonDown));
src\Framework\System\Windows\Controls\Expander.cs (2)
180
add {
AddHandler
(ExpandedEvent, value); }
199
add {
AddHandler
(CollapsedEvent, value); }
src\Framework\System\Windows\Controls\Image.cs (1)
167
add {
AddHandler
(ImageFailedEvent, value); }
src\Framework\System\Windows\Controls\InkCanvas.cs (6)
1037
AddHandler
(InkCanvas.StrokeCollectedEvent, value);
1176
AddHandler
(InkCanvas.GestureEvent, value);
1276
AddHandler
(InkCanvas.ActiveEditingModeChangedEvent, value);
1335
AddHandler
(InkCanvas.EditingModeChangedEvent, value);
1392
AddHandler
(InkCanvas.EditingModeInvertedChangedEvent, value);
1552
AddHandler
(InkCanvas.StrokeErasedEvent, value);
src\Framework\System\Windows\Controls\ListBoxItem.cs (2)
153
AddHandler
(SelectedEvent, value);
173
AddHandler
(UnselectedEvent, value);
src\Framework\System\Windows\Controls\MediaElement.cs (6)
579
add {
AddHandler
(MediaFailedEvent, value); }
599
add {
AddHandler
(MediaOpenedEvent, value); }
618
add {
AddHandler
(BufferingStartedEvent, value); }
637
add {
AddHandler
(BufferingEndedEvent, value); }
656
add {
AddHandler
(ScriptCommandEvent, value); }
675
add {
AddHandler
(MediaEndedEvent, value); }
src\Framework\System\Windows\Controls\MenuItem.cs (5)
230
AddHandler
(MenuItem.ClickEvent, value);
263
AddHandler
(CheckedEvent, value);
280
AddHandler
(UncheckedEvent, value);
310
AddHandler
(SubmenuOpenedEvent, value);
326
AddHandler
(SubmenuClosedEvent, value);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
416
AddHandler
(PasswordChangedEvent, value);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
184
public event RoutedEventHandler Click { add {
AddHandler
(ClickEvent, value); } remove { RemoveHandler(ClickEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
70
public event RoutedPropertyChangedEventHandler<double> ValueChanged { add {
AddHandler
(ValueChangedEvent, value); } remove { RemoveHandler(ValueChangedEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
83
public event ScrollEventHandler Scroll { add {
AddHandler
(ScrollEvent, value); } remove { RemoveHandler(ScrollEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
98
add {
AddHandler
(SelectionChangedEvent, value); }
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
949
AddHandler
(TextChangedEvent, value);
974
AddHandler
(SelectionChangedEvent, value);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (3)
84
public event DragStartedEventHandler DragStarted { add {
AddHandler
(DragStartedEvent, value); } remove { RemoveHandler(DragStartedEvent, value); } }
90
public event DragDeltaEventHandler DragDelta { add {
AddHandler
(DragDeltaEvent, value); } remove { RemoveHandler(DragDeltaEvent, value); } }
96
public event DragCompletedEventHandler DragCompleted { add {
AddHandler
(DragCompletedEvent, value); } remove { RemoveHandler(DragCompletedEvent, value); } }
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (3)
80
AddHandler
(CheckedEvent, value);
97
AddHandler
(UncheckedEvent, value);
114
AddHandler
(IndeterminateEvent, value);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
880
add {
AddHandler
(ScrollChangedEvent, value); }
src\Framework\System\Windows\Controls\StickyNote.cs (6)
209
button.
AddHandler
(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick));
217
closeButton.
AddHandler
(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick));
223
titleThumb.
AddHandler
(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
224
titleThumb.
AddHandler
(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
230
resizeThumb.
AddHandler
(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
231
resizeThumb.
AddHandler
(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
src\Framework\System\Windows\Controls\ToolTip.cs (2)
370
AddHandler
(OpenedEvent, value);
401
AddHandler
(ClosedEvent, value);
src\Framework\System\Windows\Controls\TreeView.cs (1)
165
AddHandler
(SelectedItemChangedEvent, value);
src\Framework\System\Windows\Controls\TreeViewItem.cs (4)
219
AddHandler
(ExpandedEvent, value);
251
AddHandler
(CollapsedEvent, value);
283
AddHandler
(SelectedEvent, value);
315
AddHandler
(UnselectedEvent, value);
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
629
((ScrollViewer)scrollViewer).
AddHandler
(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
src\Framework\System\Windows\FrameworkElement.cs (6)
2681
add {
AddHandler
(Binding.TargetUpdatedEvent, value); }
2691
add {
AddHandler
(Binding.SourceUpdatedEvent, value); }
5958
add {
AddHandler
(ToolTipOpeningEvent, value); }
5990
add {
AddHandler
(ToolTipClosingEvent, value); }
6023
add {
AddHandler
(ContextMenuOpeningEvent, value); }
6050
add {
AddHandler
(ContextMenuClosingEvent, value); }
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
2884
uiel.
AddHandler
(reid, d);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
62
add {
AddHandler
(ValueCommittedEvent, value); }
75
add {
AddHandler
(EditCancelledEvent, value); }
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
85
this.
AddHandler
(FocusManager.GotFocusEvent, new RoutedEventHandler(OnSomeoneGotFocus));
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
103
AddHandler
(ToolCreatedEvent, value);
115
AddHandler
(ToolSelectedEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
198
this.
AddHandler
(ExpressionTextBox.EditorLostLogicalFocusEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
71
this.
AddHandler
(ExtensionWindow.CloseEvent, new RoutedEventHandler(OnExtensionWindowClosed));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
123
AddHandler
(ClosingEvent, value);
136
AddHandler
(CloseEvent, value);
148
AddHandler
(VisibilityChangedEvent, value);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (3)
263
add { this.
AddHandler
(TypeBrowserOpenedEvent, value); }
269
add { this.
AddHandler
(TypeBrowserClosedEvent, value); }
275
add { this.
AddHandler
(TypeChangedEvent, value); }