Edit

Bagikan melalui


LostFocusEventManager.RemoveListener Method

Definition

Removes the specified listener from the list of listeners on the provided source.

public:
 static void RemoveListener(System::Windows::DependencyObject ^ source, System::Windows::IWeakEventListener ^ listener);
public static void RemoveListener (System.Windows.DependencyObject source, System.Windows.IWeakEventListener listener);
static member RemoveListener : System.Windows.DependencyObject * System.Windows.IWeakEventListener -> unit
Public Shared Sub RemoveListener (source As DependencyObject, listener As IWeakEventListener)

Parameters

source
DependencyObject

The object to remove the listener from.

listener
IWeakEventListener

The listener to remove.

Applies to

See also