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