Bewerken

Delen via


LostFocusEventManager.StartListening(Object) Method

Definition

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

protected:
 override void StartListening(System::Object ^ source);
protected override void StartListening (object source);
override this.StartListening : obj -> unit
Protected Overrides Sub StartListening (source As Object)

Parameters

source
Object

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

Remarks

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.

Applies to

See also