FocusManager.RemoveGotFocusHandler Método

Definición

Quita un controlador del evento adjunto 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

Objeto UIElement o ContentElement que escucha este evento.

handler
RoutedEventHandler

Controlador de eventos que se va a quitar.

Se aplica a