title: How to set Targetproperty for ellipse in Storyboard?
body: <p>I am learning storyboard in wpf C#. I have referred the msdn documentation on storyboard.For understanding, I created a simple application that just rotates an ellipse.</p>
  
  <p>Here is my code..</p>
  
  <pre><code>&lt;Ellipse  Name="myEllipse" Width="200" Height="200" Margin="266,42,51,78" 
            RenderTransformOrigin="0.5,0.5"  &gt;
      &lt;Ellipse.RenderTransform&gt;
          &lt;TransformGroup&gt;
              &lt;ScaleTransform/&gt;
              &lt;SkewTransform/&gt;
              &lt;RotateTransform Angle="0"/&gt;
              &lt;TranslateTransform/&gt;
          &lt;/TransformGroup&gt;
      &lt;/Ellipse.RenderTransform&gt;
      &lt;Ellipse.Fill&gt;
          &lt;ImageBrush ImageSource="circle.gif"&gt;&lt;/ImageBrush&gt;
      &lt;/Ellipse.Fill&gt;
  &lt;/Ellipse&gt;
  // Button to animate the ellipse
  &lt;Button Width="60" Height="20" Margin="0,250,0,0" Content="Start"&gt;
      &lt;Button.Triggers&gt;
          &lt;EventTrigger RoutedEvent="Button.Click"&gt;
              &lt;BeginStoryboard&gt;
                  &lt;Storyboard&gt;
                      &lt;DoubleAnimation Storyboard.TargetName="myEllipse"
                                       Storyboard.TargetProperty="Angle"
                                       From="0" To="360"
                                       AutoReverse="True" 
                                       RepeatBehavior="Forever"&gt; 
                      &lt;/DoubleAnimation&gt;        
                  &lt;/Storyboard&gt;
              &lt;/BeginStoryboard&gt;
          &lt;/EventTrigger&gt;
      &lt;/Button.Triggers&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>I want to set ellipse <strong>rotate transform angle</strong> of ellipse as double animation target property.As angle is not a property of the ellipse it throws an exception.Then I searched  the SO and found a similar question and set <strong><code>targetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)"</code></strong></p>
  
  <p>But that too didn't work. How can I set the angle as <code>targetproperty</code>?</p>
  
  <p>Thanks in advance..</p>