LostFocusEventManager.RemoveHandler Metoda

Definice

Odebere zadanou obslužnou rutinu události ze zadaného zdroje.

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))

Parametry

source
DependencyObject

Zdrojový objekt, který vyvolá LostFocus událost nebo LostFocus .

handler
EventHandler<RoutedEventArgs>

Delegát, který zpracovává LostFocus událost nebo LostFocus .

Výjimky

handler je null.

Platí pro