title: Raising a property change event for class object
body: <p>I have a class as follows:</p>
  
  <pre><code>public class UserData : INotifyPropertyChnaged
  {
      public string strUserName;
      public string UserName
      {
          get { return strUserName; }
          set { SetProperty(ref strUserName, value); }
      }
  
      private string strPhoneNumber;
      public string UserPhoneNumber
      {
          get { return strPhoneNumber; }
          set { SetProperty(ref strPhoneNumber, value); }
      }
  
      private List&lt;UserMailID&gt; listUserMailID;
      public List&lt;UserMailID&gt; ListOfUserMailID
      {
          get { return listUserMailID; }
          set { SetProperty(ref listUserMailID, value); }
      }
  }
  </code></pre>
  
  <p>I'm accessing this class at some location and this class object I am binding to my view:</p>
  
  <pre><code>private UserData cActiverUser;
  public UserData ActiverUser
  {
      get { return cActiverUser; }
      set { SetProperty(ref cActiverUser , value); }
  }
  </code></pre>
  
  <p>Suppose there is UserName field in my view; my data binding goes like this: </p>
  
  <pre><code>TextBox.Text="{Binding ActiverUser.StrUserName, UpdateSourceTrigger=PropertyChanged}
  </code></pre>
  
  <p>Binding works well, but I am unable to raise the property changed event when I change this user name field on my view.  I have tried setting <code>Mode="TwoWay"</code> also.</p>