Edit

Share via


DataChangedEventManager.RemoveListener Method

Definition

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

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

Parameters

source
DataSourceProvider

The object with the event.

listener
IWeakEventListener

The listener to remove.

Applies to

See also