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