19 references to PreviewLostKeyboardFocusEvent
PresentationCore (13)
Core\CSharp\System\Windows\Generated\ContentElement.cs (3)
1811
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
1818
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
1819
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
854
EventManager.RegisterClassHandler(type, Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewLostKeyboardFocusThunk), false);
4089
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
4096
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
4097
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement3D.cs (3)
1517
public static readonly RoutedEvent PreviewLostKeyboardFocusEvent = Keyboard.
PreviewLostKeyboardFocusEvent
.AddOwner(_typeofThis);
1524
add { AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value, false); }
1525
remove { RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Input\Keyboard.cs (2)
233
UIElement.AddHandler(element,
PreviewLostKeyboardFocusEvent
, handler);
243
UIElement.RemoveHandler(element,
PreviewLostKeyboardFocusEvent
, handler);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
357
previewLostFocus.RoutedEvent=Keyboard.
PreviewLostKeyboardFocusEvent
;
PresentationFramework (6)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (6)
2824
sourceUIElement.RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2829
sourceContentElement.RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2841
targetContentElement.AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus), true);
2853
targetUIElement.AddHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus), true);
2882
((UIElement)sender).RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));
2884
((ContentElement)sender).RemoveHandler(Keyboard.
PreviewLostKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(_LostFocus));