Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

INotifyPropertyChanged.PropertyChanged Event

Occurs when a property value changes.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

event PropertyChangedEventHandler^ PropertyChanged {
	void add (PropertyChangedEventHandler^ value);
	void remove (PropertyChangedEventHandler^ value);
}
/** @event */
void add_PropertyChanged (PropertyChangedEventHandler value)

/** @event */
void remove_PropertyChanged (PropertyChangedEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

The PropertyChanged event can indicate all properties on the object have changed by using either a null reference (Nothing in Visual Basic) or String.Empty as the property name in the PropertyChangedEventArgs.

The following code example demonstrates how to implement the PropertyChanged event of the INotifyPropertyChanged interface.

No code example is currently available or this language may not be supported.

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, 2.0

.NET Compact Framework

Supported in: 2.0

XNA Framework

Supported in: 1.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.