Tuesday, 3 September 2013

RepeatBehavior doesn't work in Expression Blend?

RepeatBehavior doesn't work in Expression Blend?

Is this just me or what? RepeatBehavior doesn't seem work for animations
in Expression Blend 4. I have the following animation:
<DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
Storyboard.TargetName="WaitDoc" RepeatBehavior="0:0:2">
<EasingDoubleKeyFrame KeyTime="0:0:1.0" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:1.1" Value="180"/>
<EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="360"/>
</DoubleAnimationUsingKeyFrames>
I expect this animation to run for 2 seconds, but instead it runs only
once when I click Play button in Objects and Timeline pane. I have tried
values like 5x too, getting the same behavior.
I don't want to run the entire project to test every minute change. The
Play button SHOULD play it as defined. Am I missing something here?

No comments:

Post a Comment