ModelItem.PropertyChanged Event
When overridden in a derived class, occurs when a property on the model changes.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
'Declaration
Public MustOverride Event PropertyChanged As PropertyChangedEventHandler
public abstract event PropertyChangedEventHandler PropertyChanged
public:
virtual event PropertyChangedEventHandler^ PropertyChanged {
void add (PropertyChangedEventHandler^ value);
void remove (PropertyChangedEventHandler^ value);
}
abstract PropertyChanged : IEvent<PropertyChangedEventHandler,
PropertyChangedEventArgs>
JScript does not support events.
INotifyPropertyChanged.PropertyChanged
This event implements the INotifyPropertyChanged interface. This event can be used to tell when a property on the model changes. It is also useful because INotifyPropertyChanged can be used by the data binding features of Windows Presentation Foundation (WPF).
You should disconnect events from items when you are finished with them. Otherwise, you can prevent the item from being clean up during garbage collection.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Microsoft.Windows.Design.Model Namespace