2
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
Width="100" Height="100">
5
<Ellipse x:Name="ball" Fill="LightGray" Width="50" Height="50" Canvas.Left="25" Canvas.Top="25">
7
<EventTrigger RoutedEvent="Ellipse.Loaded">
9
<Storyboard x:Name="animation">
10
<DoubleAnimationUsingKeyFrames
11
Storyboard.TargetName="ball"
12
Storyboard.TargetProperty="(Canvas.Opacity)">
13
<SplineDoubleKeyFrame Value="0.0" KeyTime="0:0:1" KeySpline="0.0,0.3 0.7,1.0" />
14
</DoubleAnimationUsingKeyFrames>