Blend“交互性”DLL 支持这种情况。在第一个故事板上设置StoryboardCompletedTrigger ,在第二个故事板上设置ControlStoryboardAction。例如(请注意,这需要引用 System.Windows.Interactivity.dll 和 Microsoft.Expression.Interactions.dll):
<Grid x:Name="LayoutRoot"
xmlns:em="clr-namespace:Microsoft.Expression.Interactivity.Media;assembly=Microsoft.Expression.Interactions"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
>
<Grid.Resources>
<Storyboard x:Name="FirstStoryboard">
<DoubleAnimation ...
<DoubleAnimation ...
</Storyboard>
<Storyboard x:Name="SecondStoryboard">
<DoubleAnimation ...
</Storyboard>
</Grid.Resources>
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<em:ControlStoryboardAction Storyboard="{StaticResource FirstStoryboard}" />
</i:EventTrigger>
<em:StoryboardCompletedTrigger Storyboard="{StaticResource FirstStoryboard}">
<em:ControlStoryboardAction Storyboard="{StaticResource SecondStoryboard}" />
</em:StoryboardCompletedTrigger>
</i:Interaction.Triggers>
</Grid>