LostFocusEventManager.AddListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the provided listener to the list of listeners on the provided source.
public:
static void AddListener(System::Windows::DependencyObject ^ source, System::Windows::IWeakEventListener ^ listener);
public static void AddListener (System.Windows.DependencyObject source, System.Windows.IWeakEventListener listener);
static member AddListener : System.Windows.DependencyObject * System.Windows.IWeakEventListener -> unit
Public Shared Sub AddListener (source As DependencyObject, listener As IWeakEventListener)
Parameters
- source
- DependencyObject
The object with the event.
- listener
- IWeakEventListener
The object to add as a listener.
Applies to
See also
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.