Windows Phone 8.1 Storyboard 倾斜变形

network | | 访问(34)
<Canvas >
    <Canvas.Resources>
        <Storyboard x:Name="Storyboard1">
            <PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Rectangle1" Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)">
                <EasingPointKeyFrame KeyTime="00:00:03" Value="1,0.5"/>
            </PointAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Rectangle1" Storyboard.TargetProperty="(UIElement.RenderTransform).(SkewTransform.AngleY)">
                <EasingDoubleKeyFrame KeyTime="00:00:03" Value="-17"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Canvas.Resources>
    <Rectangle Width="200" Height="269" Fill="Blue" Stroke="Black" StrokeThickness="4" x:Name="Rectangle1">
        <Rectangle.RenderTransform>
            <SkewTransform/>
        </Rectangle.RenderTransform>
    </Rectangle>
</Canvas>
public sealed partial class MainPage: Page {
    public MainPage() {
        this.InitializeComponent();
        Storyboard1.Begin();
    }

    protected override void OnNavigatedTo(NavigationEventArgs e) {}
}