57 references to AddHandler
PresentationCore (54)
Core\CSharp\System\Windows\Generated\ContentElement.cs (54)
523
AddHandler
(routedEvent, handler, false);
887
add {
AddHandler
(Mouse.PreviewMouseDownEvent, value, false); }
906
add {
AddHandler
(Mouse.MouseDownEvent, value, false); }
925
add {
AddHandler
(Mouse.PreviewMouseUpEvent, value, false); }
944
add {
AddHandler
(Mouse.MouseUpEvent, value, false); }
963
add {
AddHandler
(UIElement.PreviewMouseLeftButtonDownEvent, value, false); }
982
add {
AddHandler
(UIElement.MouseLeftButtonDownEvent, value, false); }
1001
add {
AddHandler
(UIElement.PreviewMouseLeftButtonUpEvent, value, false); }
1020
add {
AddHandler
(UIElement.MouseLeftButtonUpEvent, value, false); }
1039
add {
AddHandler
(UIElement.PreviewMouseRightButtonDownEvent, value, false); }
1058
add {
AddHandler
(UIElement.MouseRightButtonDownEvent, value, false); }
1077
add {
AddHandler
(UIElement.PreviewMouseRightButtonUpEvent, value, false); }
1096
add {
AddHandler
(UIElement.MouseRightButtonUpEvent, value, false); }
1115
add {
AddHandler
(Mouse.PreviewMouseMoveEvent, value, false); }
1134
add {
AddHandler
(Mouse.MouseMoveEvent, value, false); }
1153
add {
AddHandler
(Mouse.PreviewMouseWheelEvent, value, false); }
1172
add {
AddHandler
(Mouse.MouseWheelEvent, value, false); }
1191
add {
AddHandler
(Mouse.MouseEnterEvent, value, false); }
1210
add {
AddHandler
(Mouse.MouseLeaveEvent, value, false); }
1229
add {
AddHandler
(Mouse.GotMouseCaptureEvent, value, false); }
1248
add {
AddHandler
(Mouse.LostMouseCaptureEvent, value, false); }
1267
add {
AddHandler
(Mouse.QueryCursorEvent, value, false); }
1704
add {
AddHandler
(Keyboard.PreviewKeyDownEvent, value, false); }
1723
add {
AddHandler
(Keyboard.KeyDownEvent, value, false); }
1742
add {
AddHandler
(Keyboard.PreviewKeyUpEvent, value, false); }
1761
add {
AddHandler
(Keyboard.KeyUpEvent, value, false); }
1780
add {
AddHandler
(Keyboard.PreviewGotKeyboardFocusEvent, value, false); }
1799
add {
AddHandler
(Keyboard.GotKeyboardFocusEvent, value, false); }
1818
add {
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, value, false); }
1837
add {
AddHandler
(Keyboard.LostKeyboardFocusEvent, value, false); }
1856
add {
AddHandler
(TextCompositionManager.PreviewTextInputEvent, value, false); }
1875
add {
AddHandler
(TextCompositionManager.TextInputEvent, value, false); }
1894
add {
AddHandler
(DragDrop.PreviewQueryContinueDragEvent, value, false); }
1913
add {
AddHandler
(DragDrop.QueryContinueDragEvent, value, false); }
1932
add {
AddHandler
(DragDrop.PreviewGiveFeedbackEvent, value, false); }
1951
add {
AddHandler
(DragDrop.GiveFeedbackEvent, value, false); }
1970
add {
AddHandler
(DragDrop.PreviewDragEnterEvent, value, false); }
1989
add {
AddHandler
(DragDrop.DragEnterEvent, value, false); }
2008
add {
AddHandler
(DragDrop.PreviewDragOverEvent, value, false); }
2027
add {
AddHandler
(DragDrop.DragOverEvent, value, false); }
2046
add {
AddHandler
(DragDrop.PreviewDragLeaveEvent, value, false); }
2065
add {
AddHandler
(DragDrop.DragLeaveEvent, value, false); }
2084
add {
AddHandler
(DragDrop.PreviewDropEvent, value, false); }
2103
add {
AddHandler
(DragDrop.DropEvent, value, false); }
2123
add {
AddHandler
(Touch.PreviewTouchDownEvent, value, false); }
2143
add {
AddHandler
(Touch.TouchDownEvent, value, false); }
2163
add {
AddHandler
(Touch.PreviewTouchMoveEvent, value, false); }
2183
add {
AddHandler
(Touch.TouchMoveEvent, value, false); }
2203
add {
AddHandler
(Touch.PreviewTouchUpEvent, value, false); }
2223
add {
AddHandler
(Touch.TouchUpEvent, value, false); }
2243
add {
AddHandler
(Touch.GotTouchCaptureEvent, value, false); }
2263
add {
AddHandler
(Touch.LostTouchCaptureEvent, value, false); }
2283
add {
AddHandler
(Touch.TouchEnterEvent, value, false); }
2303
add {
AddHandler
(Touch.TouchLeaveEvent, value, false); }
PresentationFramework (3)
src\Framework\System\Windows\FrameworkContentElement.cs (2)
1737
AddHandler
(FrameworkElement.LoadedEvent, value, false);
1767
AddHandler
(FrameworkElement.UnloadedEvent, value, false);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2841
targetContentElement.
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true);