开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜