PropertyChanged Event
See Also 
SourceCode.Framework Namespace > PersistableObject Class : PropertyChanged Event



Glossary Item Box

Occurs when a property value has changed.

Syntax

Visual Basic (Declaration) 
Public Event PropertyChanged As EventHandler(Of PropertyChangedEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As PersistableObject
Dim handler As EventHandler(Of PropertyChangedEventArgs)
 
AddHandler instance.PropertyChanged, handler
C# 
public event EventHandler<PropertyChangedEventArgs> PropertyChanged
C++/CLI 
public:
event EventHandler<PropertyChangedEventArgs^>^ PropertyChanged

Event Data

The event handler receives an argument of type PropertyChangedEventArgs containing data related to this event. The following PropertyChangedEventArgs properties provide information specific to this event.

PropertyDescription
IsDisposed Gets a value indicating if the current object have been disposed yet.
IsReference  
Item  
NewValue  
OldValue  
PropertyName  
warnUser  

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also