특정 조건에서 뒤로 재생하고 싶은 스토리 보드 애니메이션이 있습니다.스토리 보드 애니메이션을 거꾸로 호출하는 방법은 무엇입니까?
storyboard1.autoreverse = true;
내가 필드
프레임 워크에서이를 지원하지 않습니다<Storyboard x:Name="Storyboard1" Completed="Storyboard1_Completed">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="imageBack1">
<EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="90"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
</DoubleAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="imageBack1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.25">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation Duration="0:0:0.25" To="90" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="image1" d:IsOptimized="True"/>
</Storyboard>
당신은/재배치뿐만 아니라 키 프레임을 반전 할 필요가 있기 때문에이 솔루션에 대한 몇 가지 의문이 있습니다
불행하게도 나는 그것을 밖으로 스토리 보드 수준의 그림은 XAML 트리에 위치 방법을 몰라 /이 자료의 부모. –@ColinE : 좀 더 구체적으로, 내가 게시 한 코드를보고 "image1"을 "image1"로 만들고 그 반대의 경우도 가능합니까? – user1235555
@Emo 좋은 지적. 그러나 "프레임 워크에이 문제에 대한 지원이 없다"는 제 대답은 중요한 답변입니다. 스토리 보드를 편집하여 직접해야합니다. – ColinE