Skip to Main Content
Programming WPF, 2nd Edition
book

Programming WPF, 2nd Edition

by Chris Sells, Ian Griffiths
August 2007
Intermediate to advanced content levelIntermediate to advanced
864 pages
25h 52m
English
O'Reilly Media, Inc.
Content preview from Programming WPF, 2nd Edition

Where Are We?

Animation can enhance an application's interactive feel. It can make for smoother transitions when items appear and disappear. Of course, you should use animation with taste and restraint—if you animate everything in your application, it will be a bewildering mess. You should also take care not to frustrate your users by forcing them to wait for animations to finish before proceeding. Fortunately, WPF keeps all user interface elements active while animations are in progress.

All animations are described by timelines, which are objects that describe what happens over some particular stretch of time. Timelines form a hierarchy, allowing the relationships between different parts of an animation to be expressed. The execution of animations is controlled by "clocks," which provide us with a means of starting and stopping animations. You can add animations to the triggers section of any element, and to styles and templates. The animation's timing system can synchronize with media playback, enabling animations to coincide with events in audio or video sources.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming C#, 4th Edition

Programming C#, 4th Edition

Jesse Liberty
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9780596510374Supplemental ContentErrata Page