Partilhar via


Keyboard.AddLostKeyboardFocusHandler Método

Definição

Adiciona um manipulador ao evento anexado LostKeyboardFocus.

public:
 static void AddLostKeyboardFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardFocusChangedEventHandler ^ handler);
public static void AddLostKeyboardFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardFocusChangedEventHandler handler);
static member AddLostKeyboardFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardFocusChangedEventHandler -> unit
Public Shared Sub AddLostKeyboardFocusHandler (element As DependencyObject, handler As KeyboardFocusChangedEventHandler)

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
KeyboardFocusChangedEventHandler

O manipulador de eventos a ser adicionado.

Comentários

Esse método fornece acessadores de propriedade anexados para acesso ao código e processamento de atributo XAML do Keyboard.LostKeyboardFocus evento anexado.

Aplica-se a