Если у меня есть анимация раскадровки, определенная в ресурсах xaml, как мне отключить ее?
Например, если у меня есть что-то подобное в разделе UserControl.Resources:
<Storyboard x:Key="MyKey">
<DoubleAnimation Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:.5" DecelerationRatio="1" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
Есть ли способ отключить анимацию в xaml ..?