UIElement.LostKeyboardFocus UIElement.LostKeyboardFocus UIElement.LostKeyboardFocus UIElement.LostKeyboardFocus Event

Definición

Se produce cuando este elemento deja de recibir el foco del teclado.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 

Implementaciones

Comentarios

Dado que este evento usa el enrutamiento de propagación, el elemento que perdió el foco puede ser un elemento secundario, en lugar del elemento que está asociado actualmente el controlador de eventos.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. Compruebe el Source en los datos del evento para determinar el elemento real que perdió el foco.Check the Source in the event data to determine the actual element that lost focus.

Este evento crea un alias para el Keyboard.LostKeyboardFocus adjunta eventos para esta clase, por lo que LostKeyboardFocus forma parte lista los miembros de la clase cuando UIElement se hereda como elemento base.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 UIElement is inherited as a base element. Controladores de eventos que están asociados a la LostKeyboardFocus se adjuntan eventos subyacente Keyboard.LostKeyboardFocus evento adjunto y reciben la misma instancia de datos de evento.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.

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field LostKeyboardFocusEvent
Estrategia de enrutamientoRouting strategy PropagaciónBubbling
delegadoDelegate KeyboardFocusChangedEventHandler

Se aplica a