Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

20. Resources > Timeline Classes

Timeline Classes

A Storyboard lets you specify the dependency property to be animated, but you still need to specify how the property value will change. You do that using the descendants of AnimationTimeline in the System.Windows.Media.Animation namespace. The various classes let you specify discrete values over the animation, like the starting and ending values or positions along a path, and they’ll calculate the intermediate values for you. These calculations can be tricky (did I mention linear algebra?) and they’re unique to the type of value being calculated, so the namespace contains a set of classes for each of the following data types:

image

Because there are separate classes for every data type, the sheer number of them can be a little scary. (There are over 150 individual animation classes in the namespace.) But there are actually only a few types of operations, and once you know what they are, the classes sort themselves out.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint