Επεξεργασία

Κοινή χρήση μέσω


DataChangedEventManager.AddListener Method

Definition

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

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

Parameters

source
DataSourceProvider

The object with the event.

listener
IWeakEventListener

The object to add as a listener.

Applies to

See also