79 references to AddHandler
PresentationCore (76)
System\Windows\Generated\ContentElement.cs (76)
484
AddHandler
(routedEvent, handler, false);
827
add {
AddHandler
(Mouse.PreviewMouseDownEvent, value, false); }
846
add {
AddHandler
(Mouse.MouseDownEvent, value, false); }
865
add {
AddHandler
(Mouse.PreviewMouseUpEvent, value, false); }
884
add {
AddHandler
(Mouse.MouseUpEvent, value, false); }
903
add {
AddHandler
(UIElement.PreviewMouseLeftButtonDownEvent, value, false); }
922
add {
AddHandler
(UIElement.MouseLeftButtonDownEvent, value, false); }
941
add {
AddHandler
(UIElement.PreviewMouseLeftButtonUpEvent, value, false); }
960
add {
AddHandler
(UIElement.MouseLeftButtonUpEvent, value, false); }
979
add {
AddHandler
(UIElement.PreviewMouseRightButtonDownEvent, value, false); }
998
add {
AddHandler
(UIElement.MouseRightButtonDownEvent, value, false); }
1017
add {
AddHandler
(UIElement.PreviewMouseRightButtonUpEvent, value, false); }
1036
add {
AddHandler
(UIElement.MouseRightButtonUpEvent, value, false); }
1055
add {
AddHandler
(Mouse.PreviewMouseMoveEvent, value, false); }
1074
add {
AddHandler
(Mouse.MouseMoveEvent, value, false); }
1093
add {
AddHandler
(Mouse.PreviewMouseWheelEvent, value, false); }
1112
add {
AddHandler
(Mouse.MouseWheelEvent, value, false); }
1131
add {
AddHandler
(Mouse.MouseEnterEvent, value, false); }
1150
add {
AddHandler
(Mouse.MouseLeaveEvent, value, false); }
1169
add {
AddHandler
(Mouse.GotMouseCaptureEvent, value, false); }
1188
add {
AddHandler
(Mouse.LostMouseCaptureEvent, value, false); }
1207
add {
AddHandler
(Mouse.QueryCursorEvent, value, false); }
1226
add {
AddHandler
(Stylus.PreviewStylusDownEvent, value, false); }
1245
add {
AddHandler
(Stylus.StylusDownEvent, value, false); }
1264
add {
AddHandler
(Stylus.PreviewStylusUpEvent, value, false); }
1283
add {
AddHandler
(Stylus.StylusUpEvent, value, false); }
1302
add {
AddHandler
(Stylus.PreviewStylusMoveEvent, value, false); }
1321
add {
AddHandler
(Stylus.StylusMoveEvent, value, false); }
1340
add {
AddHandler
(Stylus.PreviewStylusInAirMoveEvent, value, false); }
1359
add {
AddHandler
(Stylus.StylusInAirMoveEvent, value, false); }
1378
add {
AddHandler
(Stylus.StylusEnterEvent, value, false); }
1397
add {
AddHandler
(Stylus.StylusLeaveEvent, value, false); }
1416
add {
AddHandler
(Stylus.PreviewStylusInRangeEvent, value, false); }
1435
add {
AddHandler
(Stylus.StylusInRangeEvent, value, false); }
1454
add {
AddHandler
(Stylus.PreviewStylusOutOfRangeEvent, value, false); }
1473
add {
AddHandler
(Stylus.StylusOutOfRangeEvent, value, false); }
1492
add {
AddHandler
(Stylus.PreviewStylusSystemGestureEvent, value, false); }
1511
add {
AddHandler
(Stylus.StylusSystemGestureEvent, value, false); }
1530
add {
AddHandler
(Stylus.GotStylusCaptureEvent, value, false); }
1549
add {
AddHandler
(Stylus.LostStylusCaptureEvent, value, false); }
1568
add {
AddHandler
(Stylus.StylusButtonDownEvent, value, false); }
1587
add {
AddHandler
(Stylus.StylusButtonUpEvent, value, false); }
1606
add {
AddHandler
(Stylus.PreviewStylusButtonDownEvent, value, false); }
1625
add {
AddHandler
(Stylus.PreviewStylusButtonUpEvent, value, false); }
1644
add {
AddHandler
(Keyboard.PreviewKeyDownEvent, value, false); }
1663
add {
AddHandler
(Keyboard.KeyDownEvent, value, false); }
1682
add {
AddHandler
(Keyboard.PreviewKeyUpEvent, value, false); }
1701
add {
AddHandler
(Keyboard.KeyUpEvent, value, false); }
1720
add {
AddHandler
(Keyboard.PreviewGotKeyboardFocusEvent, value, false); }
1739
add {
AddHandler
(Keyboard.GotKeyboardFocusEvent, value, false); }
1758
add {
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, value, false); }
1777
add {
AddHandler
(Keyboard.LostKeyboardFocusEvent, value, false); }
1796
add {
AddHandler
(TextCompositionManager.PreviewTextInputEvent, value, false); }
1815
add {
AddHandler
(TextCompositionManager.TextInputEvent, value, false); }
1834
add {
AddHandler
(DragDrop.PreviewQueryContinueDragEvent, value, false); }
1853
add {
AddHandler
(DragDrop.QueryContinueDragEvent, value, false); }
1872
add {
AddHandler
(DragDrop.PreviewGiveFeedbackEvent, value, false); }
1891
add {
AddHandler
(DragDrop.GiveFeedbackEvent, value, false); }
1910
add {
AddHandler
(DragDrop.PreviewDragEnterEvent, value, false); }
1929
add {
AddHandler
(DragDrop.DragEnterEvent, value, false); }
1948
add {
AddHandler
(DragDrop.PreviewDragOverEvent, value, false); }
1967
add {
AddHandler
(DragDrop.DragOverEvent, value, false); }
1986
add {
AddHandler
(DragDrop.PreviewDragLeaveEvent, value, false); }
2005
add {
AddHandler
(DragDrop.DragLeaveEvent, value, false); }
2024
add {
AddHandler
(DragDrop.PreviewDropEvent, value, false); }
2043
add {
AddHandler
(DragDrop.DropEvent, value, false); }
2063
add {
AddHandler
(Touch.PreviewTouchDownEvent, value, false); }
2083
add {
AddHandler
(Touch.TouchDownEvent, value, false); }
2103
add {
AddHandler
(Touch.PreviewTouchMoveEvent, value, false); }
2123
add {
AddHandler
(Touch.TouchMoveEvent, value, false); }
2143
add {
AddHandler
(Touch.PreviewTouchUpEvent, value, false); }
2163
add {
AddHandler
(Touch.TouchUpEvent, value, false); }
2183
add {
AddHandler
(Touch.GotTouchCaptureEvent, value, false); }
2203
add {
AddHandler
(Touch.LostTouchCaptureEvent, value, false); }
2223
add {
AddHandler
(Touch.TouchEnterEvent, value, false); }
2243
add {
AddHandler
(Touch.TouchLeaveEvent, value, false); }
PresentationFramework (3)
System\Windows\FrameworkContentElement.cs (2)
1726
AddHandler
(FrameworkElement.LoadedEvent, value, false);
1756
AddHandler
(FrameworkElement.UnloadedEvent, value, false);
System\Windows\Input\KeyboardNavigation.cs (1)
2753
targetContentElement.
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true);