title: Why after animating height setting this property directly stops working
body: <p>I have problem which is killing me. Below is simple example</p>
  
  <pre><code>&lt;Grid Name="_grid"&gt;
      &lt;Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="36,33,0,0" Name="button" VerticalAlignment="Top" Width="75" /&gt;
      &lt;Button Content="Enlarge through animation" Height="23" Margin="172,33,24,0" Name="_animateButton" VerticalAlignment="Top" Click="_animateButton_Click" /&gt;
      &lt;Button Content="Enlarge through simple heigh changing" Height="23"  Margin="172,62,24,0" Name="_resizeButton" VerticalAlignment="Top" Click="_resizeButton_Click" /&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>And in code behind</p>
  
  <pre><code>private void _resizeButton_Click(object sender, RoutedEventArgs e)
  {
      button.Height += 10;
  }
  
  private void _animateButton_Click(object sender, RoutedEventArgs e)
  {
      Storyboard storyboard = new Storyboard();
  
      DoubleAnimation animation = new DoubleAnimation(button.Height + 10, new Duration(new TimeSpan(0, 0, 0, 1)));
      storyboard.Children.Add(animation);
  
      Storyboard.SetTargetName(animation, button.Name);
      Storyboard.SetTargetProperty(animation, new PropertyPath(HeightProperty));
  
      storyboard.Begin(_grid);
  }
  </code></pre>
  
  <p>Application looks like this</p>
  
  <p><img src="https://i.stack.imgur.com/jYtjv.png" alt="alt text"></p>
  
  <p>After pressing _resizeButton left button enlarge immediately. Then I'm pressing _animateButton - left button is enlarging slowly. After this I'm pressing _resizeButton again and nothing is happening. Why is that?</p>
  
  <p>I have noticed that the same thing is when animating Top property</p>