Raises the PropertyChanged event.
Raising an event invokes the event handler through a function. The OnPropertyChanged method also allows derived classes to handle the event without attaching a function to the event. This is the preferred technique for handling an event in a derived class. Note about Inheritors: When overriding OnPropertyChanged in a derived class, call the base class's OnPropertyChanged method so that registered delegates receive the event.