LostFocusEventManager.StartListening Method (Object)

 

Begins listening for the LostFocus event on the given source, attaching an internal class handler to that source.

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

protected override void StartListening(
	object source
)

Parameters

source
Type: System.Object

The object on which to start listening for the pertinent LostFocus event.

The provided source is checked for type to see if it is UIElement or ContentElement , and then adds the class handler for the appropriate event to that source.

.NET Framework
Available since 3.0
Return to top
Show: