LostFocusEventManager.RemoveListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.