Bouncing Ball with DoubleAnimation
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib"> <Ellipse Name="elips" Width="24" Height="24" Fill="Red" Canvas.Left="96"> <Ellipse.Triggers> <EventTrigger RoutedEvent="Ellipse.Loaded"> <BeginStoryboard> <Storyboard TargetName="elips" RepeatBehavior="Forever"> <DoubleAnimation Storyboard.TargetProperty="(Canvas.Top)" From="96" To="480" Duration="0:0:1" AutoReverse="True" /> </Storyboard> </BeginStoryboard> </EventTrigger> </Ellipse.Triggers> </Ellipse> </Canvas>