Continuous ColorAnimation?
I set up a ni开发者_StackOverflowce ColorAnimation. When applying AutoReverse = true to it, it even goes from one color to another.
Now I want it to change the color it animates to randomly after every completed runthrough. How can I achieve this?
btw. I'm attaching my Animation to a storyboard:
storyboard.RepeatBehavior = RepeatBehavior.Forever;
storyboard.Children.Add(SpotLightAnimation);
storyboard.Begin(this);
Do not use the forever and just when the animation finish run it again with other colors
精彩评论