<Canvas
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Width="100" Height="100">
	<Ellipse x:Name="ball" Fill="Orange" Width="50" Height="50" Canvas.Left="25" Canvas.Top="25">
	<Ellipse.Triggers>
		<EventTrigger RoutedEvent="Ellipse.Loaded">
			<BeginStoryboard>
				<Storyboard x:Name="animation">
					<ColorAnimationUsingKeyFrames
					 Storyboard.TargetName = "ball"
					 Storyboard.TargetProperty = "Fill">
						<SplineColorKeyFrame Value="#00f" KeyTime="0:0:1" KeySpline="0.4,0.0 0.7,0.5" />
					</ColorAnimationUsingKeyFrames>
				</Storyboard>
			</BeginStoryboard>
		</EventTrigger>
	</Ellipse.Triggers>
	</Ellipse>
</Canvas>

