O'Reilly logo

XAML Developer Reference by Ashish Ghoda, Mamta Dalal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animations and Storyboards

An animation is an action that can change one or more of the properties of an element. For example, when a button is clicked, you might want to change its background color to a darker hue, and then, when the mouse button is released, change the color back to its original color. Or you might want to render a continually moving ellipse. You can achieve all such actions through animations in XAML.

Note

Animations only temporarily change the property values of elements—the change isn’t permanent.

Though you can create animations directly in C# code, in XAML, you create animations through a storyboard. A storyboard in XAML is a resource that contains a collection of animations, each of which targets a specific property of a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required