title: WPF rotate an loading image for gif effect
body: <p>I have a static loader image in wpf, I can easily use it as a loading gif by using WPFAnimatedGIF nuget package, but it seems like an overkill.</p>
  
  <p>There is only one scenario in my application where I want to display a busy indicator.</p>
  
  <p>There is nothing to trigger, it is a hidden object in my window and upon certain condition it becomes visible. Thus it should always rotate and appear like a normal animated loading gif.</p>
  
  <p>What I have tried so far</p>
  
  <pre><code> &lt;Image RenderTransformOrigin=".5,.5" Width="44" Height="44" Source="BusyIndicator.gif"&gt;
          &lt;Image.RenderTransform&gt;
              &lt;RotateTransform Angle="45" /&gt;                
          &lt;/Image.RenderTransform&gt;
      &lt;/Image&gt;
  </code></pre>
  
  <p>Image that I am using is</p>
  
  <p><a href="https://i.stack.imgur.com/eB6uN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eB6uN.png" alt="enter image description here"></a></p>