CurrentChangingEventManager::AddListener Method (ICollectionView^, IWeakEventListener^)

 

Adds the specified listener to the CurrentChanging event of the specified source.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public:
static void AddListener(
	ICollectionView^ source,
	IWeakEventListener^ listener
)

Parameters

source
Type: System.ComponentModel::ICollectionView^

The object with the event.

listener
Type: System.Windows::IWeakEventListener^

The object to add as a listener.

.NET Framework
Available since 3.0
Return to top
Show: