Compartilhar via


Keyboard.RemovePreviewLostKeyboardFocusHandler Método

Definição

Remove um manipulador para o evento anexado PreviewLostKeyboardFocus.

public:
 static void RemovePreviewLostKeyboardFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardFocusChangedEventHandler ^ handler);
public static void RemovePreviewLostKeyboardFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardFocusChangedEventHandler handler);
static member RemovePreviewLostKeyboardFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardFocusChangedEventHandler -> unit
Public Shared Sub RemovePreviewLostKeyboardFocusHandler (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 removido.

Comentários

Esse método fornece acessadores de propriedade anexados para acesso de código ao Keyboard.PreviewLostKeyboardFocus evento anexado.

Aplica-se a