Partilhar via


Keyboard.RemovePreviewGotKeyboardFocusHandler Método

Definição

Remove um manipulador para o evento anexado PreviewGotKeyboardFocus.

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

Aplica-se a