Editare

Partajați prin


LostFocusEventManager.RemoveHandler Method

Definition

Removes the specified event handler from the specified source.

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

Parameters

source
DependencyObject

The source object that the raises the LostFocus or LostFocus event.

handler
EventHandler<RoutedEventArgs>

The delegate that handles the LostFocus or LostFocus event.

Exceptions

handler is null.

Applies to