19 references to PreviewLostKeyboardFocusEvent
PresentationCore (13)
System\Windows\Generated\ContentElement.cs (3)
1751
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
1758
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
1759
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
789
EventManager.RegisterClassHandler(type, Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewLostKeyboardFocusThunk), false);
3704
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
3711
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
3712
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
1472
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
1479
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
1480
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
System\Windows\Input\Keyboard.cs (2)
236
UIElement.AddHandler(element,
PreviewLostKeyboardFocusEvent
, handler);
246
UIElement.RemoveHandler(element,
PreviewLostKeyboardFocusEvent
, handler);
System\Windows\Input\KeyboardDevice.cs (1)
288
previewLostFocus.RoutedEvent=Keyboard.
PreviewLostKeyboardFocusEvent
;
PresentationFramework (6)
System\Windows\Input\KeyboardNavigation.cs (6)
2736
sourceUIElement.RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2741
sourceContentElement.RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2753
targetContentElement.AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus), true);
2765
targetUIElement.AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus), true);
2793
((UIElement)sender).RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2795
((ContentElement)sender).RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));