PropertyChangedEventManager.RemoveListener Method

Removes the specified listener from the list of listeners on the provided source.

Namespace: System.ComponentModel
Assembly: WindowsBase (in windowsbase.dll)

public static void RemoveListener (
	INotifyPropertyChanged source,
	IWeakEventListener listener,
	string propertyName
)
public static void RemoveListener (
	INotifyPropertyChanged source, 
	IWeakEventListener listener, 
	String propertyName
)
public static function RemoveListener (
	source : INotifyPropertyChanged, 
	listener : IWeakEventListener, 
	propertyName : String
)
You cannot use methods in XAML.

Parameters

source

The object to remove the listener from.

listener

The listener to remove.

propertyName

The name of the property that exists on source upon which to stop listening for changes. Set to Empty to indicate "any property".

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: