ClassCollectionChangedEventManager
Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CollectionChanged event.
Definition
Namespace:Telerik.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class CollectionChangedEventManager : WeakEventManager<INotifyCollectionChanged>
Inheritance: objectWeakEventManager<INotifyCollectionChanged>CollectionChangedEventManager
Inherited Members
Methods
AddListener(INotifyCollectionChanged, IWeakEventListener)
Adds the specified listener to the CollectionChanged event of the specified source.
Declaration
public static void AddListener(INotifyCollectionChanged source, IWeakEventListener listener)
Parameters
source
The object with the event.
listener
The object to add as a listener.
RemoveListener(INotifyCollectionChanged, IWeakEventListener)
Removes the specified listener from the CollectionChanged event of the specified source.
Declaration
public static void RemoveListener(INotifyCollectionChanged source, IWeakEventListener listener)
Parameters
source
The object with the event.
listener
The listener to remove.
StartListening(object)
Begins listening for the CollectionChanged event on the specified source.
Declaration
protected override void StartListening(object source)
Parameters
source
The object with the event.
Overrides
StopListening(object)
Stops listening for the CollectionChanged event on the specified source.
Declaration
protected override void StopListening(object source)
Parameters
source
The object with the event.
Overrides