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)
480
AddHandler
(routedEvent, handler, false);
2776
add {
AddHandler
(Mouse.PreviewMouseDownEvent, value, false); }
2795
add {
AddHandler
(Mouse.MouseDownEvent, value, false); }
2814
add {
AddHandler
(Mouse.PreviewMouseUpEvent, value, false); }
2833
add {
AddHandler
(Mouse.MouseUpEvent, value, false); }
2852
add {
AddHandler
(UIElement.PreviewMouseLeftButtonDownEvent, value, false); }
2871
add {
AddHandler
(UIElement.MouseLeftButtonDownEvent, value, false); }
2890
add {
AddHandler
(UIElement.PreviewMouseLeftButtonUpEvent, value, false); }
2909
add {
AddHandler
(UIElement.MouseLeftButtonUpEvent, value, false); }
2928
add {
AddHandler
(UIElement.PreviewMouseRightButtonDownEvent, value, false); }
2947
add {
AddHandler
(UIElement.MouseRightButtonDownEvent, value, false); }
2966
add {
AddHandler
(UIElement.PreviewMouseRightButtonUpEvent, value, false); }
2985
add {
AddHandler
(UIElement.MouseRightButtonUpEvent, value, false); }
3004
add {
AddHandler
(Mouse.PreviewMouseMoveEvent, value, false); }
3023
add {
AddHandler
(Mouse.MouseMoveEvent, value, false); }
3042
add {
AddHandler
(Mouse.PreviewMouseWheelEvent, value, false); }
3061
add {
AddHandler
(Mouse.MouseWheelEvent, value, false); }
3080
add {
AddHandler
(Mouse.MouseEnterEvent, value, false); }
3099
add {
AddHandler
(Mouse.MouseLeaveEvent, value, false); }
3118
add {
AddHandler
(Mouse.GotMouseCaptureEvent, value, false); }
3137
add {
AddHandler
(Mouse.LostMouseCaptureEvent, value, false); }
3156
add {
AddHandler
(Mouse.QueryCursorEvent, value, false); }
3175
add {
AddHandler
(Stylus.PreviewStylusDownEvent, value, false); }
3194
add {
AddHandler
(Stylus.StylusDownEvent, value, false); }
3213
add {
AddHandler
(Stylus.PreviewStylusUpEvent, value, false); }
3232
add {
AddHandler
(Stylus.StylusUpEvent, value, false); }
3251
add {
AddHandler
(Stylus.PreviewStylusMoveEvent, value, false); }
3270
add {
AddHandler
(Stylus.StylusMoveEvent, value, false); }
3289
add {
AddHandler
(Stylus.PreviewStylusInAirMoveEvent, value, false); }
3308
add {
AddHandler
(Stylus.StylusInAirMoveEvent, value, false); }
3327
add {
AddHandler
(Stylus.StylusEnterEvent, value, false); }
3346
add {
AddHandler
(Stylus.StylusLeaveEvent, value, false); }
3365
add {
AddHandler
(Stylus.PreviewStylusInRangeEvent, value, false); }
3384
add {
AddHandler
(Stylus.StylusInRangeEvent, value, false); }
3403
add {
AddHandler
(Stylus.PreviewStylusOutOfRangeEvent, value, false); }
3422
add {
AddHandler
(Stylus.StylusOutOfRangeEvent, value, false); }
3441
add {
AddHandler
(Stylus.PreviewStylusSystemGestureEvent, value, false); }
3460
add {
AddHandler
(Stylus.StylusSystemGestureEvent, value, false); }
3479
add {
AddHandler
(Stylus.GotStylusCaptureEvent, value, false); }
3498
add {
AddHandler
(Stylus.LostStylusCaptureEvent, value, false); }
3517
add {
AddHandler
(Stylus.StylusButtonDownEvent, value, false); }
3536
add {
AddHandler
(Stylus.StylusButtonUpEvent, value, false); }
3555
add {
AddHandler
(Stylus.PreviewStylusButtonDownEvent, value, false); }
3574
add {
AddHandler
(Stylus.PreviewStylusButtonUpEvent, value, false); }
3593
add {
AddHandler
(Keyboard.PreviewKeyDownEvent, value, false); }
3612
add {
AddHandler
(Keyboard.KeyDownEvent, value, false); }
3631
add {
AddHandler
(Keyboard.PreviewKeyUpEvent, value, false); }
3650
add {
AddHandler
(Keyboard.KeyUpEvent, value, false); }
3669
add {
AddHandler
(Keyboard.PreviewGotKeyboardFocusEvent, value, false); }
3688
add {
AddHandler
(Keyboard.GotKeyboardFocusEvent, value, false); }
3707
add {
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, value, false); }
3726
add {
AddHandler
(Keyboard.LostKeyboardFocusEvent, value, false); }
3745
add {
AddHandler
(TextCompositionManager.PreviewTextInputEvent, value, false); }
3764
add {
AddHandler
(TextCompositionManager.TextInputEvent, value, false); }
3783
add {
AddHandler
(DragDrop.PreviewQueryContinueDragEvent, value, false); }
3802
add {
AddHandler
(DragDrop.QueryContinueDragEvent, value, false); }
3821
add {
AddHandler
(DragDrop.PreviewGiveFeedbackEvent, value, false); }
3840
add {
AddHandler
(DragDrop.GiveFeedbackEvent, value, false); }
3859
add {
AddHandler
(DragDrop.PreviewDragEnterEvent, value, false); }
3878
add {
AddHandler
(DragDrop.DragEnterEvent, value, false); }
3897
add {
AddHandler
(DragDrop.PreviewDragOverEvent, value, false); }
3916
add {
AddHandler
(DragDrop.DragOverEvent, value, false); }
3935
add {
AddHandler
(DragDrop.PreviewDragLeaveEvent, value, false); }
3954
add {
AddHandler
(DragDrop.DragLeaveEvent, value, false); }
3973
add {
AddHandler
(DragDrop.PreviewDropEvent, value, false); }
3992
add {
AddHandler
(DragDrop.DropEvent, value, false); }
4012
add {
AddHandler
(Touch.PreviewTouchDownEvent, value, false); }
4032
add {
AddHandler
(Touch.TouchDownEvent, value, false); }
4052
add {
AddHandler
(Touch.PreviewTouchMoveEvent, value, false); }
4072
add {
AddHandler
(Touch.TouchMoveEvent, value, false); }
4092
add {
AddHandler
(Touch.PreviewTouchUpEvent, value, false); }
4112
add {
AddHandler
(Touch.TouchUpEvent, value, false); }
4132
add {
AddHandler
(Touch.GotTouchCaptureEvent, value, false); }
4152
add {
AddHandler
(Touch.LostTouchCaptureEvent, value, false); }
4172
add {
AddHandler
(Touch.TouchEnterEvent, value, false); }
4192
add {
AddHandler
(Touch.TouchLeaveEvent, value, false); }
System\Windows\UIElement.cs (6)
4385
add {
AddHandler
(ManipulationStartingEvent, value, false); }
4410
add {
AddHandler
(ManipulationStartedEvent, value, false); }
4435
add {
AddHandler
(ManipulationDeltaEvent, value, false); }
4460
add {
AddHandler
(ManipulationInertiaStartingEvent, value, false); }
4485
add {
AddHandler
(ManipulationBoundaryFeedbackEvent, value, false); }
4510
add {
AddHandler
(ManipulationCompletedEvent, value, false); }
PresentationFramework (18)
System\Windows\Controls\DatePicker.cs (4)
698
_dropDownButton.
AddHandler
(MouseLeaveEvent, new MouseEventHandler(DropDownButton_MouseLeave), true);
717
_textBox.
AddHandler
(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown), true);
718
_textBox.
AddHandler
(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged), true);
719
_textBox.
AddHandler
(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus), true);
System\Windows\Controls\Primitives\CalendarItem.cs (8)
971
dayCell.
AddHandler
(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true);
972
dayCell.
AddHandler
(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true);
973
dayCell.
AddHandler
(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true);
975
dayCell.
AddHandler
(PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
997
monthCell.
AddHandler
(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true);
998
monthCell.
AddHandler
(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true);
999
monthCell.
AddHandler
(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true);
1000
monthCell.
AddHandler
(UIElement.PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
System\Windows\EventTrigger.cs (1)
316
eventTrigger._source.
AddHandler
( eventTrigger.RoutedEvent, eventTrigger._routedEventHandler,
System\Windows\FrameworkElement.cs (4)
3279
add {
AddHandler
(RequestBringIntoViewEvent, value, false); }
3322
add {
AddHandler
(SizeChangedEvent, value, false);}
5713
AddHandler
(LoadedEvent, value, false);
5779
AddHandler
(UnloadedEvent, value, false);
System\Windows\Input\KeyboardNavigation.cs (1)
2755
targetUIElement.
AddHandler
(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true);
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
508
AddHandler
(ComboBox.MouseLeftButtonUpEvent, new RoutedEventHandler(OnMouseLeftButtonUp), true);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
152
add {
AddHandler
(ExpandedEvent, value, false); }
171
add {
AddHandler
(CollapsedEvent, value, false); }
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1617
_firstGallery.
AddHandler
(Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus), true);