ContentElement.LostKeyboardFocus Ereignis
Definition
Tritt auf, wenn sich der Fokus der Tastatur nicht mehr auf diesem Element befindet.Occurs when the keyboard is no longer focused on this element.
public:
virtual event System::Windows::Input::KeyboardFocusChangedEventHandler ^ LostKeyboardFocus;
public event System.Windows.Input.KeyboardFocusChangedEventHandler LostKeyboardFocus;
member this.LostKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventHandler
Public Custom Event LostKeyboardFocus As KeyboardFocusChangedEventHandler
Ereignistyp
Implementiert
Hinweise
Da dieses Ereignis bubblingerrouting verwendet, kann das Element, das den Fokus verliert, ein untergeordnetes Element anstelle des-Elements sein, an das der Ereignishandler tatsächlich angefügt wird.Because this event uses bubbling routing, the element that lost focus might be a child element instead of the element where the event handler is actually attached. Überprüfen Sie die Source in den Ereignisdaten, um das tatsächliche Element zu bestimmen, das den Fokus verloren hat.Check the Source in the event data to determine the actual element that lost focus.
Dieses Ereignis erstellt einen Alias für das Keyboard.LostKeyboardFocus angefügte-Ereignis für diese Klasse, sodass LostKeyboardFocus Teil der Klassenmember-Liste ist, wenn ContentElement als Basiselement geerbt wird.This event creates an alias for the Keyboard.LostKeyboardFocus attached event for this class, so that LostKeyboardFocus is part of the class members list when ContentElement is inherited as a base element. Ereignishandler, die an das Ereignis angefügt sind, LostKeyboardFocus werden an das zugrunde liegende Keyboard.LostKeyboardFocus angefügte Ereignis angefügt und empfangen dieselbe Ereignisdaten Instanz.Event handlers that are attached to the LostKeyboardFocus event are attached to the underlying Keyboard.LostKeyboardFocus attached event and receive the same event data instance.
Informationen zum RoutingereignisRouted Event Information
BezeichnerfeldIdentifier field | LostKeyboardFocusEvent |
Routing StrategieRouting strategy | BlasenBubbling |
DelegatDelegate | KeyboardFocusChangedEventHandler |
Das entsprechende tunnelingereignis ist PreviewLostKeyboardFocus .The corresponding tunneling event is PreviewLostKeyboardFocus.
OnLostKeyboardFocusÜberschreiben, um die Klassen Behandlung für dieses Ereignis in abgeleiteten Klassen zu implementieren.Override OnLostKeyboardFocus to implement class handling for this event in derived classes.