Class LostFocusEventManager
Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the UIElement.LostFocus events.
Inherited Members
Namespace: System.Windows
Assembly: Telerik.Windows.Controls.dll
Syntax
public class LostFocusEventManager : WeakEventManager<UIElement>
Methods
AddListener(UIElement, IWeakEventListener)
Adds the provided listener to the list of listeners on the provided source.
Declaration
public static void AddListener(UIElement source, IWeakEventListener listener)
Parameters
System.Windows.UIElement
source
The object with the event. |
IWeakEventListener
listener
The object to add as a listener. |
RemoveListener(UIElement, IWeakEventListener)
Removes the specified listener from the list of listeners on the provided source.
Declaration
public static void RemoveListener(UIElement source, IWeakEventListener listener)
Parameters
System.Windows.UIElement
source
The object to remove the listener from. |
IWeakEventListener
listener
The listener to remove. |
StartListening(Object)
Begins listening for the LostFocus event on the given source.
Declaration
protected override void StartListening(object source)
Parameters
System.Object
source
The object on which to start listening for the pertinent LostFocus event. |
Overrides
StopListening(Object)
Stops listening for the LostFocus event on the given source.
Declaration
protected override void StopListening(object source)
Parameters
System.Object
source
The source object on which to stop listening for LostFocus. |