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 ...
Get XAML Developer Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.