79 references to AddHandler
PresentationCore (76)
System\Windows\Generated\ContentElement.cs (76)
480AddHandler(routedEvent, handler, false); 823add { AddHandler(Mouse.PreviewMouseDownEvent, value, false); } 842add { AddHandler(Mouse.MouseDownEvent, value, false); } 861add { AddHandler(Mouse.PreviewMouseUpEvent, value, false); } 880add { AddHandler(Mouse.MouseUpEvent, value, false); } 899add { AddHandler(UIElement.PreviewMouseLeftButtonDownEvent, value, false); } 918add { AddHandler(UIElement.MouseLeftButtonDownEvent, value, false); } 937add { AddHandler(UIElement.PreviewMouseLeftButtonUpEvent, value, false); } 956add { AddHandler(UIElement.MouseLeftButtonUpEvent, value, false); } 975add { AddHandler(UIElement.PreviewMouseRightButtonDownEvent, value, false); } 994add { AddHandler(UIElement.MouseRightButtonDownEvent, value, false); } 1013add { AddHandler(UIElement.PreviewMouseRightButtonUpEvent, value, false); } 1032add { AddHandler(UIElement.MouseRightButtonUpEvent, value, false); } 1051add { AddHandler(Mouse.PreviewMouseMoveEvent, value, false); } 1070add { AddHandler(Mouse.MouseMoveEvent, value, false); } 1089add { AddHandler(Mouse.PreviewMouseWheelEvent, value, false); } 1108add { AddHandler(Mouse.MouseWheelEvent, value, false); } 1127add { AddHandler(Mouse.MouseEnterEvent, value, false); } 1146add { AddHandler(Mouse.MouseLeaveEvent, value, false); } 1165add { AddHandler(Mouse.GotMouseCaptureEvent, value, false); } 1184add { AddHandler(Mouse.LostMouseCaptureEvent, value, false); } 1203add { AddHandler(Mouse.QueryCursorEvent, value, false); } 1222add { AddHandler(Stylus.PreviewStylusDownEvent, value, false); } 1241add { AddHandler(Stylus.StylusDownEvent, value, false); } 1260add { AddHandler(Stylus.PreviewStylusUpEvent, value, false); } 1279add { AddHandler(Stylus.StylusUpEvent, value, false); } 1298add { AddHandler(Stylus.PreviewStylusMoveEvent, value, false); } 1317add { AddHandler(Stylus.StylusMoveEvent, value, false); } 1336add { AddHandler(Stylus.PreviewStylusInAirMoveEvent, value, false); } 1355add { AddHandler(Stylus.StylusInAirMoveEvent, value, false); } 1374add { AddHandler(Stylus.StylusEnterEvent, value, false); } 1393add { AddHandler(Stylus.StylusLeaveEvent, value, false); } 1412add { AddHandler(Stylus.PreviewStylusInRangeEvent, value, false); } 1431add { AddHandler(Stylus.StylusInRangeEvent, value, false); } 1450add { AddHandler(Stylus.PreviewStylusOutOfRangeEvent, value, false); } 1469add { AddHandler(Stylus.StylusOutOfRangeEvent, value, false); } 1488add { AddHandler(Stylus.PreviewStylusSystemGestureEvent, value, false); } 1507add { AddHandler(Stylus.StylusSystemGestureEvent, value, false); } 1526add { AddHandler(Stylus.GotStylusCaptureEvent, value, false); } 1545add { AddHandler(Stylus.LostStylusCaptureEvent, value, false); } 1564add { AddHandler(Stylus.StylusButtonDownEvent, value, false); } 1583add { AddHandler(Stylus.StylusButtonUpEvent, value, false); } 1602add { AddHandler(Stylus.PreviewStylusButtonDownEvent, value, false); } 1621add { AddHandler(Stylus.PreviewStylusButtonUpEvent, value, false); } 1640add { AddHandler(Keyboard.PreviewKeyDownEvent, value, false); } 1659add { AddHandler(Keyboard.KeyDownEvent, value, false); } 1678add { AddHandler(Keyboard.PreviewKeyUpEvent, value, false); } 1697add { AddHandler(Keyboard.KeyUpEvent, value, false); } 1716add { AddHandler(Keyboard.PreviewGotKeyboardFocusEvent, value, false); } 1735add { AddHandler(Keyboard.GotKeyboardFocusEvent, value, false); } 1754add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 1773add { AddHandler(Keyboard.LostKeyboardFocusEvent, value, false); } 1792add { AddHandler(TextCompositionManager.PreviewTextInputEvent, value, false); } 1811add { AddHandler(TextCompositionManager.TextInputEvent, value, false); } 1830add { AddHandler(DragDrop.PreviewQueryContinueDragEvent, value, false); } 1849add { AddHandler(DragDrop.QueryContinueDragEvent, value, false); } 1868add { AddHandler(DragDrop.PreviewGiveFeedbackEvent, value, false); } 1887add { AddHandler(DragDrop.GiveFeedbackEvent, value, false); } 1906add { AddHandler(DragDrop.PreviewDragEnterEvent, value, false); } 1925add { AddHandler(DragDrop.DragEnterEvent, value, false); } 1944add { AddHandler(DragDrop.PreviewDragOverEvent, value, false); } 1963add { AddHandler(DragDrop.DragOverEvent, value, false); } 1982add { AddHandler(DragDrop.PreviewDragLeaveEvent, value, false); } 2001add { AddHandler(DragDrop.DragLeaveEvent, value, false); } 2020add { AddHandler(DragDrop.PreviewDropEvent, value, false); } 2039add { AddHandler(DragDrop.DropEvent, value, false); } 2059add { AddHandler(Touch.PreviewTouchDownEvent, value, false); } 2079add { AddHandler(Touch.TouchDownEvent, value, false); } 2099add { AddHandler(Touch.PreviewTouchMoveEvent, value, false); } 2119add { AddHandler(Touch.TouchMoveEvent, value, false); } 2139add { AddHandler(Touch.PreviewTouchUpEvent, value, false); } 2159add { AddHandler(Touch.TouchUpEvent, value, false); } 2179add { AddHandler(Touch.GotTouchCaptureEvent, value, false); } 2199add { AddHandler(Touch.LostTouchCaptureEvent, value, false); } 2219add { AddHandler(Touch.TouchEnterEvent, value, false); } 2239add { AddHandler(Touch.TouchLeaveEvent, value, false); }
PresentationFramework (3)
System\Windows\FrameworkContentElement.cs (2)
1714AddHandler(FrameworkElement.LoadedEvent, value, false); 1744AddHandler(FrameworkElement.UnloadedEvent, value, false);
System\Windows\Input\KeyboardNavigation.cs (1)
2743targetContentElement.AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true);