Partilhar via


FocusManager.RemoveGotFocusHandler Método

Definição

Remove um manipulador para o evento anexado GotFocus.

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

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
RoutedEventHandler

O manipulador de eventos a ser removido.

Aplica-se a