title: WPF Trigger animation when Visibility is changed?
body: <p>Well i have a custom control and when <code>Visibility</code> is changed to <code>Visible</code> I have a <code>Trigger</code> with a enter/exit action but the problem is that when the exit action fires the <code>Visibility</code> is no longer <code>Visible</code> so the animation can't be seen how would I fix this?</p>
  
  <p>here is my <code>Trigger</code>:</p>
  
  <pre><code>&lt;ControlTemplate.Triggers&gt;
      &lt;Trigger Property="Visibility" Value="Visible"&gt;
          &lt;Trigger.ExitActions&gt;
              &lt;BeginStoryboard Storyboard="{StaticResource Hide}"/&gt;
          &lt;/Trigger.ExitActions&gt;
          &lt;Trigger.EnterActions&gt;
              &lt;BeginStoryboard Storyboard="{StaticResource Show}"/&gt;
          &lt;/Trigger.EnterActions&gt;
      &lt;/Trigger&gt;
  &lt;/ControlTemplate.Triggers&gt;
  </code></pre>