WPF - sequential animation simple example

后端 未结 3 1379
逝去的感伤
逝去的感伤 2020-12-17 02:28

I\'m learning about WPF animation, and am confused about how to apply animations sequentially. As a simple example, I\'ve got four rectangles in a uniform grid, and would l

3条回答
  •  心在旅途
    2020-12-17 03:06

    This can be accomplished by using a class with the contradictory name ParallelTimeline and carefully adjusting the BeginTime property. Note in the example below how the BeginTime property of the second DoubleAnimation is set to the duration of the first.

    
          
          
     
    

提交回复
热议问题