link two WPF animations together -


i animating image rotation using doubleanimation linked click event of button. animation has ease in , ease out + duration of 10 seconds.

what want @ same time animate image in last 3 seconds of first animation second image faded in , out using opacity animation.

i have no experience of storyboards , not sure how accomplish effect.

regards,

dan

if you're controlling durations explicitly, easiest way set begintime of opacity animation start @ 7 seconds , set duration last 3 seconds. if they're both in same storyboard , start storyboard, timing handled setting properties.

here's rough example.

<!-- 10 second storyboard --> <storyboard duration="00:00:10.000">     <!-- 10 second animation -->     <doubleanimation begintime="00:00:00.000" duration="00:00:10.000"  />     <!-- 3 second opacity animation starts @ 7 seconds -->     <doubleanimation begintime="00:00:07.000" duration="00:00:03.000" /> </storyboard> 

you'll need set to/from/storyboard.targetname/storyboard.targetproperty properties on animations well, obviously. gives idea of concept.

look @ msdn article more information on storyboards in general.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -