DataChangedEventManager.AddListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.