Bagikan melalui


LostFocusEventManager.RemoveHandler Metode

Definisi

Menghapus penanganan aktivitas yang ditentukan dari sumber yang ditentukan.

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

Parameter

source
DependencyObject

Objek sumber yang menaikkan LostFocus atau LostFocus peristiwa.

handler
EventHandler<RoutedEventArgs>

Delegasi yang menangani LostFocus atau LostFocus peristiwa.

Pengecualian

handleradalah null.

Berlaku untuk