LostFocusEventManager::StartListening Method

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:
virtual void StartListening(
	Object^ source
) override

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft