Animate objects in XAML Designer


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

You can create short animations that move objects, or fade them in and out.

To get started, create a storyboard. A storyboard contains one or more timelines. Set keyframes on a timeline to mark property changes. Then, when you run the animation, Blend interpolates the property changes over the designated period of time. The result is a smooth transition. You can animate any property that belongs to an object, even nonvisual properties.

The following illustration shows a storyboard named MoveUp. The timeline contains keyframes that mark the X and Y position of a rectangle. When this animation runs, the rectangle moves from one position to another smoothly.


Learn to create animations by watching these videos.

Watch a short video:Learn how to:
Configure Installed Features Create timelinesCreate a timeline, and work with objects in the timeline.
Configure Installed Features Add keyframes and repeat the animationAdd keyframes and set properties at each keyframe. Then, run the animation and watch objects smoothly transition between them.
Configure Installed Features Add event triggers for interactivityStart an animation when an event occurs. For example, start one when the window loads.
Configure Installed Features Animate colorsUse an animation to change the color of an object.
Configure Installed Features Create and modify motion pathsAnimate objects along a path.
Configure Installed Features Ease keyframesSpeed up or slow down an animation near the beginning (easing in) or near the end (easing out) of an animation.
Configure Installed Features Animate the buttonCreate interesting effects that appear on a button when the user points to it.
Configure Installed Features Create animation and work with easingAnimate effects that appear when a user presses down a button on the image of a calculator.

Creating a UI by using Blend for Visual Studio