19 references to PreviewLostKeyboardFocusEvent
PresentationCore (13)
System\Windows\Generated\ContentElement.cs (3)
1735public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 1742add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 1743remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Generated\UIElement.cs (4)
773EventManager.RegisterClassHandler(type, Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewLostKeyboardFocusThunk), false); 3688public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 3695add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 3696remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Generated\UIElement3D.cs (3)
1465public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.PreviewLostKeyboardFocusEvent.AddOwner(_typeofThis); 1472add { AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, value, false); } 1473remove { RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, value); }
System\Windows\Input\Keyboard.cs (2)
228UIElement.AddHandler(element, PreviewLostKeyboardFocusEvent, handler); 238UIElement.RemoveHandler(element, PreviewLostKeyboardFocusEvent, handler);
System\Windows\Input\KeyboardDevice.cs (1)
276RoutedEvent = Keyboard.PreviewLostKeyboardFocusEvent,
PresentationFramework (6)
System\Windows\Input\KeyboardNavigation.cs (6)
2724sourceUIElement.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2728sourceContentElement?.RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2738targetContentElement?.AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true); 2749targetUIElement.AddHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus), true); 2777((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 2779((ContentElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));