แก้ไข

แชร์ผ่าน


CurrentChangingEventManager.AddListener Method

Definition

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

public:
 static void AddListener(System::ComponentModel::ICollectionView ^ source, System::Windows::IWeakEventListener ^ listener);
public static void AddListener (System.ComponentModel.ICollectionView source, System.Windows.IWeakEventListener listener);
static member AddListener : System.ComponentModel.ICollectionView * System.Windows.IWeakEventListener -> unit
Public Shared Sub AddListener (source As ICollectionView, listener As IWeakEventListener)

Parameters

source
ICollectionView

The object with the event.

listener
IWeakEventListener

The object to add as a listener.

Applies to

See also