title: disable animation in XAML?
body: <p>If i have a storyboard animation defined in xaml resources, how do i go about disabling it?</p>
  
  <p>For example, if I have something like this on a UserControl.Resources section:</p>
  
  <pre><code>&lt;Storyboard x:Key="MyKey"&gt;
          &lt;DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:.5" DecelerationRatio="1" /&gt;
          &lt;ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"&gt;
              &lt;DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" /&gt;
          &lt;/ObjectAnimationUsingKeyFrames&gt;
      &lt;/Storyboard&gt;
  </code></pre>
  
  <p>IS there a way to disable the animation in xaml..?</p>