PropertyChangedEventManager::RemoveListener Method (INotifyPropertyChanged^, IWeakEventListener^, String^)
.NET Framework (current version)
Removes the specified listener from the list of listeners on the provided source.
Assembly: WindowsBase (in WindowsBase.dll)
public: static void RemoveListener( INotifyPropertyChanged^ source, IWeakEventListener^ listener, String^ propertyName )
Parameters
- source
-
Type:
System.ComponentModel::INotifyPropertyChanged^
The object to remove the listener from.
- listener
-
Type:
System.Windows::IWeakEventListener^
The listener to remove.
- propertyName
-
Type:
System::String^
The name of the property that exists on source upon which to stop listening for changes. Set to Empty to indicate "any property".
.NET Framework
Available since 3.0
Available since 3.0
Show: