LostFocusEventManager.AddListener Method (DependencyObject, IWeakEventListener)

 

Adds the provided listener to the list of listeners on the provided source.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void AddListener(
	DependencyObject source,
	IWeakEventListener listener
)

Parameters

source
Type: System.Windows.DependencyObject

The object with the event.

listener
Type: System.Windows.IWeakEventListener

The object to add as a listener.

.NET Framework
Available since 3.0
Return to top
Show: