Xaml 指针版本windows 8.1上的反转情节提要

Xaml 指针版本windows 8.1上的反转情节提要,xaml,storyboard,windows-store-apps,windows-8.1,Xaml,Storyboard,Windows Store Apps,Windows 8.1,我在按钮中的visualstate上有一个脚本指针: <VisualState x:Name="PointerOver"> <Storyboard x:Name="Storyboard1" AutoReverse="True"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotati

我在按钮中的visualstate上有一个脚本指针:

<VisualState x:Name="PointerOver">
   <Storyboard x:Name="Storyboard1" AutoReverse="True">
     <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="image">
     <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="20"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="40"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="60"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="80"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="100"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.6" Value="120"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="140"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.8" Value="160"/>
     <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="180"/>
     </DoubleAnimationUsingKeyFrames>
   </Storyboard>
</VisualState>

我想在指针释放中从停止点而不是结束点反转这个故事板

这可能吗???

您可以使用它

pointerRelease
事件上选择
Normal
状态

   <VisualStateManager.VisualStateGroups>            
          <VisualStateGroup x:Name="CommonStates">
                      <VisualState x:Name="Normal" />
                      <VisualState x:Name="PointerOver">
                                <Storyboard x:Name="Storyboard1" AutoReverse="True">
                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="image">
                                        <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="20"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="40"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="60"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="80"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="100"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.6" Value="120"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="140"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.8" Value="160"/>
                                        <SplineDoubleKeyFrame KeyTime="0:0:0.9" Value="180"/>
                                    </DoubleAnimationUsingKeyFrames>
                                </Storyboard>
                            </VisualState>
                </VisualStateGroup>
          </VisualStateManager.VisualStateGroups>            

ok它可以工作,但我从180开始以正常的visualstate启动故事板,但一旦指针释放,我希望从该点开始