title: xaml rotate and grow label animation
body: <p>I want to make a simultaneously growing and rotating label in XAML.
  Why isn't my code working? (text grows, but doesn't rotate)</p>
  
  <pre><code> &lt;Window 
    xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x = "http://schemas.microsoft.com/winfx/2006/xaml"
    Title = "Animation" 
    Height = "600" Width = "1000" WindowStartupLocation="CenterScreen"&gt;
  
    &lt;Window.Resources&gt;
      &lt;Storyboard x:Key="Storyboard"&gt;
              &lt;DoubleAnimation 
              Storyboard.TargetProperty="FontSize"
              From = "12" To = "200" Duration = "0:0:4"
              RepeatBehavior = "Forever" AutoReverse="True"/&gt;
              &lt;DoubleAnimation
              Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)"
              From="0" To="360" Duration="0:0:4"
              RepeatBehavior="Forever"/&gt;
          &lt;/Storyboard&gt;
    &lt;/Window.Resources&gt;
  
      &lt;Label x:Name="myLabel" Content = "Some text"&gt;
        &lt;Label.Triggers&gt;
          &lt;EventTrigger RoutedEvent="Label.Loaded"&gt;
            &lt;EventTrigger.Actions&gt;
              &lt;BeginStoryboard Storyboard="{StaticResource Storyboard}"/&gt;
            &lt;/EventTrigger.Actions&gt;
          &lt;/EventTrigger&gt;
        &lt;/Label.Triggers&gt;
      &lt;/Label&gt;
  
  &lt;/Window&gt;
  </code></pre>