<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

	<Ellipse x:Name="MovingEllipse" Fill="Purple" Width="50" Height="50" Canvas.Left="0">

    	<Ellipse.Triggers>

		<EventTrigger RoutedEvent="Ellipse.Loaded">

		<BeginStoryboard>
          		<Storyboard>

				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MovingEllipse"
              				Storyboard.TargetProperty="(Canvas.Left)">

					<SplineDoubleKeyFrame Value="0" KeyTime="0:0:0" KeySpline="0.0,0.0 0.0,0.0" />
					<SplineDoubleKeyFrame Value="100" KeyTime="0:0:5" KeySpline="0.0,1.0 1.0,0.0" />
              				<SplineDoubleKeyFrame Value="400" KeyTime="0:0:10" KeySpline="0.0,0.0 1.0,0.0" />
              				<SplineDoubleKeyFrame Value="250" KeyTime="0:0:15" KeySpline="0.25,0.5 0.75,1" />
              
            			</DoubleAnimationUsingKeyFrames>

          		</Storyboard>
        	</BeginStoryboard>
      		</EventTrigger>
    </Ellipse.Triggers> 
  </Ellipse>
</Canvas>

