19 references to PreviewLostKeyboardFocusEvent
PresentationCore (13)
System\Windows\Generated\ContentElement.cs (3)
1736public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 1743add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 1744remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Generated\UIElement.cs (4)
774EventManager.RegisterClassHandler(type, Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewLostKeyboardFocusThunk), false); 3689public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 3696add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 3697remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Generated\UIElement3D.cs (3)
1464public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 1471add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 1472remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Input\Keyboard.cs (2)
229UIElement.AddHandler(element, PreviewLostKeyboardFocusEvent, handler); 239UIElement.RemoveHandler(element, PreviewLostKeyboardFocusEvent, handler);
System\Windows\Input\KeyboardDevice.cs (1)
277RoutedEvent = Keyboard.PreviewLostKeyboardFocusEvent,
PresentationFramework (6)
System\Windows\Input\KeyboardNavigation.cs (6)
2726sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2730sourceContentElement?.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2740targetContentElement?.AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true); 2751targetUIElement.AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true); 2779((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2781((ContentElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));