title: ViewModel subscribing to Model's PropertyChanged event for a specific property
body: <p>I'd like to have methodToBeCalledWhenPropertyIsSet() execute when Property in the Model is changed.  </p>
  
  <p>How could I do this?</p>
  
  <p>If I understand correctly, I could add <code>MyModel.PropertyChanged += methodToBeCalledWhenPropertyIsSet</code> somewhere in my ViewModel to subscribe to the PropertyChanged event in general but I only care when Property is set </p>
  
  <pre><code>public class ViewModel : INotifyPropertyChanged
  {
      ...
  
      public Model MyModel { get; set; }
  
      public void methodToBeCalledWhenPropertyIsSet() { }
  
      public event PropertyChangedEventHandler PropertyChanged;
  
      [NotifyPropertyChangedInvocator]
      protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
      {
          PropertyChangedEventHandler handler = PropertyChanged;
          if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
      }
  }
  
  public class Model : INotifyPropertyChanged
  {
      object _propertyField;
      public object Property
      {
          get
          {
              return _propertyField;
          }
          set
          {
              _propertyField = value;
               OnPropertyChanged();
          }
      }
  
      public event PropertyChangedEventHandler PropertyChanged;
  
      [NotifyPropertyChangedInvocator]
      protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
      {
          PropertyChangedEventHandler handler = PropertyChanged;
          if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
      }
  }
  </code></pre>