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