我的 xaml 定义中有这个 Canvas
<Canvas Width="128" Height="128" Margin="10">
<Canvas.CacheMode>
<BitmapCache />
</Canvas.CacheMode>
<Canvas.Triggers>
<EventTrigger RoutedEvent="Canvas.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
From="0" To="360"
RepeatBehavior="Forever"
Storyboard.TargetName="spin"
Storyboard.TargetProperty="(RotateTransform.Angle)"
/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Canvas.Triggers>
<Canvas.RenderTransform>
<RotateTransform x:Name="spin" Angle="0" CenterX="64" CenterY="64" />
</Canvas.RenderTransform>
<Image Source="Images\CircularLoading.png" Width="128" Height="128" />
</Canvas>
这个动画占用了我 50% 的 CPU,如何提高性能?