* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / clock / clock31.xaml
blob200d863c93f7c5fb738f2ede88ca96d3d8b1e6e8
1 <Canvas x:Name="parentCanvas"
2         xmlns="http://schemas.microsoft.com/client/2007" 
3         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
4         Width="640" Height="250">
6         <Canvas.Triggers>
7                 <EventTrigger RoutedEvent="Canvas.Loaded">
8                         <BeginStoryboard>
9                                 <Storyboard>
10                                         <DoubleAnimation Storyboard.TargetName="rect" Storyboard.TargetProperty="(Canvas.Left)" By="500" Duration="00:00:2" RepeatBehavior="00:00:08" AutoReverse="True"/>
11                                 </Storyboard>
12                         </BeginStoryboard>
13                 </EventTrigger>
14         </Canvas.Triggers>
16                 <Rectangle x:Name="measure1" Canvas.Left="10" Canvas.Top="7" Width="600" Height="3" Fill="Black" />
17                 <Rectangle x:Name="measure2" Canvas.Left="10" Canvas.Top="110" Width="600" Height="3" Fill="Black" />
18                 <Rectangle x:Name="rect" Canvas.Left="10" Canvas.Top="10" Width="100" Height="100" Fill="Red" />
19                 
20         <TextBlock x:Name="description" Canvas.Left="20" Canvas.Top="150" Width="600" Height="30">
21                 <Run Text="The red block should take 2 seconds to move to the right, then return to the left side."/>
22                 <LineBreak/>
23                 <Run Text="It should repeat this trip two times. RepeatBehavior='00:00:08' is not correctly"/>
24                 <LineBreak/>
25                 <Run Text="supported by Silverlight 1.0 but works in Silverlight 2.0."/>
26         </TextBlock>
27 </Canvas>