* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-zero-scale-animation.xaml
blobf9040b1f045ae0aae4d74bb7c6fa7b077179a7ca
1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4         <Ellipse x:Name="MovingEllipse" Fill="Purple" Width="100" Height="100" Canvas.Left="0">
5         <Ellipse.RenderTransform>
6                 <ScaleTransform x:Name="ellipseScale" ScaleX="1.0" ScaleY="1.0" />
7         </Ellipse.RenderTransform>
9         <Ellipse.Triggers>
11                 <EventTrigger RoutedEvent="Ellipse.Loaded">
13                 <BeginStoryboard>
14                         <Storyboard>
16                                 <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ellipseScale"
17                                         Storyboard.TargetProperty="ScaleX">
19                                         <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" />
20                                         <LinearDoubleKeyFrame Value="0.3" KeyTime="0:0:5" />
21                                         <LinearDoubleKeyFrame Value="0.5" KeyTime="0:0:10" />
22                                         <LinearDoubleKeyFrame Value="2.0" KeyTime="0:0:15" />
23               
24                                 </DoubleAnimationUsingKeyFrames>
26                                 <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ellipseScale"
27                                         Storyboard.TargetProperty="ScaleY">
29                                         <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" />
30                                         <LinearDoubleKeyFrame Value="0.3" KeyTime="0:0:5" />
31                                         <LinearDoubleKeyFrame Value="0.5" KeyTime="0:0:10" />
32                                         <LinearDoubleKeyFrame Value="2.0" KeyTime="0:0:15" />
33               
34                                 </DoubleAnimationUsingKeyFrames>
35                         </Storyboard>
36                 </BeginStoryboard>
37                 </EventTrigger>
38     </Ellipse.Triggers> 
39   </Ellipse>
40 </Canvas>