Class
CurrentChangingEventManager

Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CurrentChanging event.

Definition

Methods

AddListener(ICollectionView, IWeakEventListener)

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

Declaration

cs-api-definition
public static void AddListener(ICollectionView source, IWeakEventListener listener)

Parameters

source

ICollectionView

The object with the event.

listener

IWeakEventListener

The object to add as a listener.

RemoveListener(ICollectionView, IWeakEventListener)

Removes the specified listener from the CurrentChanging event of the specified source.

Declaration

cs-api-definition
public static void RemoveListener(ICollectionView source, IWeakEventListener listener)

Parameters

source

ICollectionView

The object with the event.

listener

IWeakEventListener

The listener to remove.

StartListening(object)

Begins listening for the CurrentChanging event on the specified source.

Declaration

cs-api-definition
protected override void StartListening(object source)

Parameters

source

object

The object with the event.

Overrides WeakEventManager<ICollectionView>.StartListening(object)

StopListening(object)

Stops listening for the CurrentChanging event on the specified source.

Declaration

cs-api-definition
protected override void StopListening(object source)

Parameters

source

object

The object with the event.

Overrides WeakEventManager<ICollectionView>.StopListening(object)