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