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