Compartir a través de


LostFocusEventManager.RemoveHandler Método

Definición

Quita el controlador de eventos especificado del origen indicado.

public:
 static void RemoveHandler(System::Windows::DependencyObject ^ source, EventHandler<System::Windows::RoutedEventArgs ^> ^ handler);
public static void RemoveHandler (System.Windows.DependencyObject source, EventHandler<System.Windows.RoutedEventArgs> handler);
static member RemoveHandler : System.Windows.DependencyObject * EventHandler<System.Windows.RoutedEventArgs> -> unit
Public Shared Sub RemoveHandler (source As DependencyObject, handler As EventHandler(Of RoutedEventArgs))

Parámetros

source
DependencyObject

Objeto de origen que provoca el evento LostFocus o LostFocus.

handler
EventHandler<RoutedEventArgs>

Delegado que controla el evento LostFocus o LostFocus.

Excepciones

handler es null.

Se aplica a