* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-animation-text.xaml
blob30f0428e59ba8d51b855bc8e9ffccd5bee2b89dc
1 <Canvas
2         xmlns="http://schemas.microsoft.com/client/2007"
3         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4         Width="640" Height="480"
5         Background="White"
6         >
7         <Canvas.Triggers>
8                 <EventTrigger RoutedEvent="Canvas.Loaded">
9                         <BeginStoryboard>
10                                 <Storyboard x:Name="Movement">
12                                         <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
13                                                 <SplineDoubleKeyFrame KeyTime="00:00:03" Value="1"/>
14                                                 <SplineDoubleKeyFrame KeyTime="00:00:04" Value="1.375"/>
15                                                 <SplineDoubleKeyFrame KeyTime="00:00:05" Value="1"/>
16                                                 <SplineDoubleKeyFrame KeyTime="00:00:06" Value="1"/>
17                                                 <SplineDoubleKeyFrame KeyTime="00:00:08" Value="1.98"/>
18                                         </DoubleAnimationUsingKeyFrames>
19                                         <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
20                                                 <SplineDoubleKeyFrame KeyTime="00:00:03" Value="0"/>
21                                                 <SplineDoubleKeyFrame KeyTime="00:00:04" Value="-0.5"/>
22                                                 <SplineDoubleKeyFrame KeyTime="00:00:05" Value="0"/>
23                                                 <SplineDoubleKeyFrame KeyTime="00:00:06" Value="0"/>
24                                                 <SplineDoubleKeyFrame KeyTime="00:00:08" Value="0.497"/>
25                                         </DoubleAnimationUsingKeyFrames>
26                                         <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
27                                                 <SplineDoubleKeyFrame KeyTime="00:00:03" Value="1"/>
28                                                 <SplineDoubleKeyFrame KeyTime="00:00:04" Value="1.756"/>
29                                                 <SplineDoubleKeyFrame KeyTime="00:00:05" Value="1"/>
30                                                 <SplineDoubleKeyFrame KeyTime="00:00:06" Value="1"/>
31                                                 <SplineDoubleKeyFrame KeyTime="00:00:08" Value="2.942"/>
32                                         </DoubleAnimationUsingKeyFrames>
33                                         <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
34                                                 <SplineDoubleKeyFrame KeyTime="00:00:03" Value="0"/>
35                                                 <SplineDoubleKeyFrame KeyTime="00:00:04" Value="-1"/>
36                                                 <SplineDoubleKeyFrame KeyTime="00:00:05" Value="0"/>
37                                                 <SplineDoubleKeyFrame KeyTime="00:00:06" Value="0"/>
38                                                 <SplineDoubleKeyFrame KeyTime="00:00:08" Value="-0.998"/>
39                                         </DoubleAnimationUsingKeyFrames>
40                                         <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
41                                                 <SplineDoubleKeyFrame KeyTime="00:00:04" Value="0"/>
42                                                 <SplineDoubleKeyFrame KeyTime="00:00:05" Value="53.03"/>
43                                                 <SplineDoubleKeyFrame KeyTime="00:00:06" Value="180.171"/>
44                                                 <SplineDoubleKeyFrame KeyTime="00:00:08" Value="359.897"/>
45                                         </DoubleAnimationUsingKeyFrames>
46                                 </Storyboard>
47                         </BeginStoryboard>
48                 </EventTrigger>
49         </Canvas.Triggers>
50         <TextBlock Height="18.537" Canvas.Left="242" Canvas.Top="178" Text="Moonlight in 21 Days" TextWrapping="Wrap" RenderTransformOrigin="0.5,0.5" x:Name="textBlock">
51                 <TextBlock.RenderTransform>
52                         <TransformGroup>
53                                 <ScaleTransform ScaleX="1" ScaleY="1"/>
54                                 <SkewTransform AngleX="0" AngleY="0"/>
55                                 <RotateTransform Angle="0"/>
56                                 <TranslateTransform X="0" Y="0"/>
57                         </TransformGroup>
58                 </TextBlock.RenderTransform>
59         </TextBlock>
60 </Canvas>