ContentElement.PreviewLostKeyboardFocus ContentElement.PreviewLostKeyboardFocus ContentElement.PreviewLostKeyboardFocus ContentElement.PreviewLostKeyboardFocus 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 ^ PreviewLostKeyboardFocus;
public event System.Windows.Input.KeyboardFocusChangedEventHandler PreviewLostKeyboardFocus;
member this.PreviewLostKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventHandler 
Public Custom Event PreviewLostKeyboardFocus As KeyboardFocusChangedEventHandler 

Implementaciones

Comentarios

Dado que este evento utiliza el enrutamiento de tunelización, el elemento que perdió el foco podría ser un elemento secundario en lugar del elemento en el que está asociado el controlador de eventos.Because this event uses tunneling routing, the element that lost focus might be a child element instead of the element where the event handler is actually attached. Source Busque 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.PreviewLostKeyboardFocus evento adjunto para esta clase, por lo PreviewLostKeyboardFocus que forma parte de la lista de miembros ContentElement de clase cuando se hereda como un elemento base.This event creates an alias for the Keyboard.PreviewLostKeyboardFocus attached event for this class, so that PreviewLostKeyboardFocus is part of the class members list when ContentElement is inherited as a base element. Los controladores de eventos adjuntos al PreviewLostKeyboardFocus evento se adjuntan al Keyboard.PreviewLostKeyboardFocus evento adjunto subyacente y reciben la misma instancia de datos de evento.Event handlers that are attached to the PreviewLostKeyboardFocus event are attached to the underlying Keyboard.PreviewLostKeyboardFocus attached event and receive the same event data instance.

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field PreviewLostKeyboardFocusEvent
Estrategia de enrutamientoRouting strategy TunelizaciónTunneling
delegadoDelegate KeyboardFocusChangedEventHandler

Se aplica a

Consulte también: