开发者

Starting a Storyboard From A Storyboard

开发者 https://www.devze.com 2023-03-09 01:58 出处:网络
Is this possible in expression blend? What i am looking for is to start a storyboard, then at second 2 i would like to start another storyboard.

Is this possible in expression blend?

What i am looking for is to start a storyboard, then at second 2 i would like to start another storyboard.

Why am I looking for this? So I can re-use storyboards and 'pieces' of larger storyboards. Seems like it would be the most OO I ca开发者_运维问答n get from storyboards.

Thanks!


Storyboards are not supposed to be OO, they are animation and timeline tools. If you want to create custom and controlled animations, I would advice that you research about the CompositeTarget.Rendering event and read about animations and easing. You can use IEasingFunction to select the easing your custom animations would use.

A different option would be to use the Storyboard.Completed event to find out when a storyboard is finished so that you can start another one, but if you decide to go this way you have to be very careful about memory leaks related with event hooks.

0

精彩评论

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