Επεξεργασία

Κοινή χρήση μέσω


ModelItem.PropertyChanged Event

Definition

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