我知道 Storyboard 的所有可冻结性都很棘手,但是是否可以与多个 Storyboard 共享动画?我正在尝试执行以下操作:
<UserControl.Resources>
<Storyboard x:Key="SharedAnimation" />
</UserControl.Resources>
...
<VisualState Name="Animation1">
<Storyboard SpeedRatio="1">
<Somehow include SharedAnimation />
</Storyboard>
</VisualState>
<VisualState Name="Animation2">
<Storyboard SpeedRatio="1.5">
<Somehow include SharedAnimation />
</Storyboard>
</VisualState>
...