108 references to AddHandler
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
InlineRename\UI\Adornment\RenameUserInputTextBox.xaml.cs (2)
38
AddHandler
(SelectionChangedEvent, value, handledEventsToo: false);
50
AddHandler
(PreviewKeyDownEvent, value, handledEventsToo: false);
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (2)
63
AddHandler
(SelectionChangedEvent, value, handledEventsToo: false);
75
AddHandler
(PreviewKeyDownEvent, value, handledEventsToo: false);
PresentationCore (82)
System\Windows\Generated\UIElement.cs (76)
484
AddHandler
(routedEvent, handler, false);
2780
add {
AddHandler
(Mouse.PreviewMouseDownEvent, value, false); }
2799
add {
AddHandler
(Mouse.MouseDownEvent, value, false); }
2818
add {
AddHandler
(Mouse.PreviewMouseUpEvent, value, false); }
2837
add {
AddHandler
(Mouse.MouseUpEvent, value, false); }
2856
add {
AddHandler
(UIElement.PreviewMouseLeftButtonDownEvent, value, false); }
2875
add {
AddHandler
(UIElement.MouseLeftButtonDownEvent, value, false); }
2894
add {
AddHandler
(UIElement.PreviewMouseLeftButtonUpEvent, value, false); }
2913
add {
AddHandler
(UIElement.MouseLeftButtonUpEvent, value, false); }
2932
add {
AddHandler
(UIElement.PreviewMouseRightButtonDownEvent, value, false); }
2951
add {
AddHandler
(UIElement.MouseRightButtonDownEvent, value, false); }
2970
add {
AddHandler
(UIElement.PreviewMouseRightButtonUpEvent, value, false); }
2989
add {
AddHandler
(UIElement.MouseRightButtonUpEvent, value, false); }
3008
add {
AddHandler
(Mouse.PreviewMouseMoveEvent, value, false); }
3027
add {
AddHandler
(Mouse.MouseMoveEvent, value, false); }
3046
add {
AddHandler
(Mouse.PreviewMouseWheelEvent, value, false); }
3065
add {
AddHandler
(Mouse.MouseWheelEvent, value, false); }
3084
add {
AddHandler
(Mouse.MouseEnterEvent, value, false); }
3103
add {
AddHandler
(Mouse.MouseLeaveEvent, value, false); }
3122
add {
AddHandler
(Mouse.GotMouseCaptureEvent, value, false); }
3141
add {
AddHandler
(Mouse.LostMouseCaptureEvent, value, false); }
3160
add {
AddHandler
(Mouse.QueryCursorEvent, value, false); }
3179
add {
AddHandler
(Stylus.PreviewStylusDownEvent, value, false); }
3198
add {
AddHandler
(Stylus.StylusDownEvent, value, false); }
3217
add {
AddHandler
(Stylus.PreviewStylusUpEvent, value, false); }
3236
add {
AddHandler
(Stylus.StylusUpEvent, value, false); }
3255
add {
AddHandler
(Stylus.PreviewStylusMoveEvent, value, false); }
3274
add {
AddHandler
(Stylus.StylusMoveEvent, value, false); }
3293
add {
AddHandler
(Stylus.PreviewStylusInAirMoveEvent, value, false); }
3312
add {
AddHandler
(Stylus.StylusInAirMoveEvent, value, false); }
3331
add {
AddHandler
(Stylus.StylusEnterEvent, value, false); }
3350
add {
AddHandler
(Stylus.StylusLeaveEvent, value, false); }
3369
add {
AddHandler
(Stylus.PreviewStylusInRangeEvent, value, false); }
3388
add {
AddHandler
(Stylus.StylusInRangeEvent, value, false); }
3407
add {
AddHandler
(Stylus.PreviewStylusOutOfRangeEvent, value, false); }
3426
add {
AddHandler
(Stylus.StylusOutOfRangeEvent, value, false); }
3445
add {
AddHandler
(Stylus.PreviewStylusSystemGestureEvent, value, false); }
3464
add {
AddHandler
(Stylus.StylusSystemGestureEvent, value, false); }
3483
add {
AddHandler
(Stylus.GotStylusCaptureEvent, value, false); }
3502
add {
AddHandler
(Stylus.LostStylusCaptureEvent, value, false); }
3521
add {
AddHandler
(Stylus.StylusButtonDownEvent, value, false); }
3540
add {
AddHandler
(Stylus.StylusButtonUpEvent, value, false); }
3559
add {
AddHandler
(Stylus.PreviewStylusButtonDownEvent, value, false); }
3578
add {
AddHandler
(Stylus.PreviewStylusButtonUpEvent, value, false); }
3597
add {
AddHandler
(Keyboard.PreviewKeyDownEvent, value, false); }
3616
add {
AddHandler
(Keyboard.KeyDownEvent, value, false); }
3635
add {
AddHandler
(Keyboard.PreviewKeyUpEvent, value, false); }
3654
add {
AddHandler
(Keyboard.KeyUpEvent, value, false); }
3673
add {
AddHandler
(Keyboard.PreviewGotKeyboardFocusEvent, value, false); }
3692
add {
AddHandler
(Keyboard.GotKeyboardFocusEvent, value, false); }
3711
add {
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, value, false); }
3730
add {
AddHandler
(Keyboard.LostKeyboardFocusEvent, value, false); }
3749
add {
AddHandler
(TextCompositionManager.PreviewTextInputEvent, value, false); }
3768
add {
AddHandler
(TextCompositionManager.TextInputEvent, value, false); }
3787
add {
AddHandler
(DragDrop.PreviewQueryContinueDragEvent, value, false); }
3806
add {
AddHandler
(DragDrop.QueryContinueDragEvent, value, false); }
3825
add {
AddHandler
(DragDrop.PreviewGiveFeedbackEvent, value, false); }
3844
add {
AddHandler
(DragDrop.GiveFeedbackEvent, value, false); }
3863
add {
AddHandler
(DragDrop.PreviewDragEnterEvent, value, false); }
3882
add {
AddHandler
(DragDrop.DragEnterEvent, value, false); }
3901
add {
AddHandler
(DragDrop.PreviewDragOverEvent, value, false); }
3920
add {
AddHandler
(DragDrop.DragOverEvent, value, false); }
3939
add {
AddHandler
(DragDrop.PreviewDragLeaveEvent, value, false); }
3958
add {
AddHandler
(DragDrop.DragLeaveEvent, value, false); }
3977
add {
AddHandler
(DragDrop.PreviewDropEvent, value, false); }
3996
add {
AddHandler
(DragDrop.DropEvent, value, false); }
4016
add {
AddHandler
(Touch.PreviewTouchDownEvent, value, false); }
4036
add {
AddHandler
(Touch.TouchDownEvent, value, false); }
4056
add {
AddHandler
(Touch.PreviewTouchMoveEvent, value, false); }
4076
add {
AddHandler
(Touch.TouchMoveEvent, value, false); }
4096
add {
AddHandler
(Touch.PreviewTouchUpEvent, value, false); }
4116
add {
AddHandler
(Touch.TouchUpEvent, value, false); }
4136
add {
AddHandler
(Touch.GotTouchCaptureEvent, value, false); }
4156
add {
AddHandler
(Touch.LostTouchCaptureEvent, value, false); }
4176
add {
AddHandler
(Touch.TouchEnterEvent, value, false); }
4196
add {
AddHandler
(Touch.TouchLeaveEvent, value, false); }
System\Windows\UIElement.cs (6)
4390
add {
AddHandler
(ManipulationStartingEvent, value, false); }
4415
add {
AddHandler
(ManipulationStartedEvent, value, false); }
4440
add {
AddHandler
(ManipulationDeltaEvent, value, false); }
4465
add {
AddHandler
(ManipulationInertiaStartingEvent, value, false); }
4490
add {
AddHandler
(ManipulationBoundaryFeedbackEvent, value, false); }
4515
add {
AddHandler
(ManipulationCompletedEvent, value, false); }
PresentationFramework (18)
System\Windows\Controls\DatePicker.cs (4)
702
_dropDownButton.
AddHandler
(MouseLeaveEvent, new MouseEventHandler(DropDownButton_MouseLeave), true);
721
_textBox.
AddHandler
(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown), true);
722
_textBox.
AddHandler
(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged), true);
723
_textBox.
AddHandler
(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus), true);
System\Windows\Controls\Primitives\CalendarItem.cs (8)
976
dayCell.
AddHandler
(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true);
977
dayCell.
AddHandler
(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true);
978
dayCell.
AddHandler
(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true);
980
dayCell.
AddHandler
(PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
1002
monthCell.
AddHandler
(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true);
1003
monthCell.
AddHandler
(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true);
1004
monthCell.
AddHandler
(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true);
1005
monthCell.
AddHandler
(UIElement.PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
System\Windows\EventTrigger.cs (1)
319
eventTrigger._source.
AddHandler
( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler,
System\Windows\FrameworkElement.cs (4)
3290
add {
AddHandler
(RequestBringIntoViewEvent, value, false); }
3333
add {
AddHandler
(SizeChangedEvent, value, false);}
5724
AddHandler
(LoadedEvent, value, false);
5790
AddHandler
(UnloadedEvent, value, false);
System\Windows\Input\KeyboardNavigation.cs (1)
2765
targetUIElement.
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true);
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
510
AddHandler
(ComboBox.MouseLeftButtonUpEvent, new RoutedEventHandler(OnMouseLeftButtonUp), true);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
155
add {
AddHandler
(ExpandedEvent, value, false); }
174
add {
AddHandler
(CollapsedEvent, value, false); }
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1619
_firstGallery.
AddHandler
(Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus), true);