Skip to Content
101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50
book

101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50

by Adam Nathan
April 2011
Intermediate to advanced
1152 pages
27h 41m
English
Sams
Content preview from 101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50

Appendix D. Animation Easing Reference

Windows Phone ships with 11 easing functions that can easily be applied to an animation or a keyframe. Each of them supports three different modes with a property called EasingMode. It can be set to EaseIn, EaseOut (the default value), or EaseInOut. Here’s how you can apply one of the easing function objects—QuadraticEase—to a basic DoubleAnimation:

<DoubleAnimation    Storyboard.TargetProperty="(Canvas.Top)" From="200"    To="0" Duration="0:0:3"> <DoubleAnimation.EasingFunction>   <QuadraticEase/> </DoubleAnimation.EasingFunction> </DoubleAnimation>

And here is how you change EasingMode to something ...

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

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
Jim's Book

Jim's Book

Catherine Moolenschot

Publisher Resources

ISBN: 9780132660761Purchase book