title: Data binding for TextBox
body: <p>I have a basic property that stores an object of type Fruit:</p>
  
  <pre><code>Fruit food;
  public Fruit Food
  {
      get {return this.food;}
      set
      {
          this.food= value;
          this.RefreshDataBindings();
      }
  }
  
  public void RefreshDataBindings()
  {
      this.textBox.DataBindings.Clear();
      this.textBox.DataBindings.Add("Text", this.Food, "Name");
  }
  </code></pre>
  
  <p>So I set <code>this.Food</code> outside the form and then it shows up in the UI.</p>
  
  <p>If I modify <code>this.Food</code>, it updates correctly. If I modify the UI programmatically like:</p>
  
  <p><code>this.textBox.Text = "NewFruit"</code>, it doesn't update this.Food.</p>
  
  <p>Why could this be? I also implemented <code>INotifyPropertyChanged</code> for Fruit.Name, but still the same.</p>