* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / clock / clock2.xaml
blob854de83fcf6fd8fce9099b81872e3c3fb3e29f93
1 <Canvas xmlns="http://schemas.microsoft.com/client/2007"
2         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3         Width="640" Height="200">
5         <Canvas.Triggers>
6                 <EventTrigger RoutedEvent="Canvas.Loaded">
7                         <BeginStoryboard>
8                                 <Storyboard FillBehavior="Stop">
9                                         <DoubleAnimation Storyboard.TargetName="rect" Storyboard.TargetProperty="(Canvas.Left)" By="500" Duration="00:00:05" />
10                                 </Storyboard>
11                         </BeginStoryboard>
12                 </EventTrigger>
13         </Canvas.Triggers>
15                 <Rectangle x:Name="measure1" Canvas.Left="10" Canvas.Top="7" Width="600" Height="3" Fill="Black" />
16                 <Rectangle x:Name="measure2" Canvas.Left="10" Canvas.Top="110" Width="600" Height="3" Fill="Black" />
17                 <Rectangle x:Name="rect" Canvas.Left="10" Canvas.Top="10" Width="100" Height="100" Fill="Red" />
19         <TextBlock x:Name="description" Canvas.Left="20" Canvas.Top="140" Width="600" Height="50">
20                 <Run Text="The red block should take 5 seconds to move to the right,"/>
21                 <LineBreak/>
22                 <Run Text="then bounce back to the left."/>
23         </TextBlock>
24 </Canvas>