title: How to Animate Button FontSize in Wpf?
body: <p>I have one Button Name Button1. I want to change this button font size in animation. So I wrote code in Window_Loaded function.</p>
  
  <pre><code> DoubleAnimation da = new DoubleAnimation(0, 25, new Duration(TimeSpan.FromSeconds(3)));
              //da.TargetPropertyType = "Width";            
              da.RepeatBehavior = RepeatBehavior.Forever;
              button1.BeginAnimation(Button.FontSizeProperty, da);
  </code></pre>
  
  <p>But I have got an Error-</p>
  
  <blockquote>
    <p>Cannot animate the 'FontSize' property on a
    'System.Windows.Controls.Button' using a
    'System.Windows.Media.Animation.DoubleAnimation'. For details see the
    inner exception.</p>
  </blockquote>
  
  <p>1) How to Animate Button Font Size?
  2) What are the properties I have to Animate in Button?</p>