答案 0 :(得分:1)
我找到了this简单的解决方案:
这就是你所需要的一切。
<pl:Planerator Name="planerator">
<Image Name="logo"
Source="somePath" >
<Image.Triggers>
<EventTrigger RoutedEvent="Image.Loaded">
<BeginStoryboard>
<Storyboard TargetProperty="ScaleX" RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetName="planerator"
Storyboard.TargetProperty="RotationY"
From="0" To="360"
BeginTime="0:0:0"
Duration="0:0:5"
AutoReverse="False"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Image.Triggers>
</Image>
</pl:Planerator>