CollectionChangedEventManager.AddListener Method (INotifyCollectionChanged, IWeakEventListener)
.NET Framework (current version)
Adds the specified listener to the CollectionChanged event of the specified source.
Assembly: WindowsBase (in WindowsBase.dll)
Public Shared Sub AddListener ( source As INotifyCollectionChanged, listener As IWeakEventListener )
Parameters
- source
-
Type:
System.Collections.Specialized.INotifyCollectionChanged
The object with the event.
- listener
-
Type:
System.Windows.IWeakEventListener
The object to add as a listener.
.NET Framework
Available since 3.0
Available since 3.0
Show: