LostFocusEventManager.RemoveListener 方法

定义

将指定的侦听器从提供的源上的侦听器列表中移除。

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)

参数

source
DependencyObject

要从中移除侦听器的对象。

listener
IWeakEventListener

要移除的侦听器。

适用于

另请参阅