次の方法で共有


INotifyPropertyChanged.PropertyChanged Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when a property value changes.

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

Syntax

'Declaration
Event PropertyChanged As PropertyChangedEventHandler
event PropertyChangedEventHandler PropertyChanged

Remarks

The PropertyChanged event can indicate that all properties on the object have changed by using either nulla null reference (Nothing in Visual Basic) or String.Empty for the PropertyName property of the PropertyChangedEventArgs.

In data binding, raise PropertyChanged on the data source to cause updates to propagate to the target.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.