ModelItem.PropertyChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements INotifyPropertyChanged
. Use this event to listen for changes to the model. This is also used by the data binding features of WPF.
public:
abstract event System::ComponentModel::PropertyChangedEventHandler ^ PropertyChanged;
public abstract event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
member this.PropertyChanged : System.ComponentModel.PropertyChangedEventHandler
Public MustOverride Custom Event PropertyChanged As PropertyChangedEventHandler
Public MustOverride Event PropertyChanged As PropertyChangedEventHandler
Event Type
Implements
Remarks
Disconnect events from items when you are finished with them. Otherwise, you might prevent the garbage collector from disposing of an item that is no longer in use.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.