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