* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-trigger-collection-2.0.xaml
blob358828b807daaad79663cad6f5571ac41a353761
1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4     <Rectangle x:Name="rect-one" Fill="Red" Stroke="Black" StrokeThickness="3"
5         Canvas.Left="10" Canvas.Top="10" Width="100" Height="100">
7         <Rectangle.Triggers>
8                     <EventTrigger RoutedEvent="Rectangle.Loaded">
9                         <BeginStoryboard>
10                             <Storyboard>
11                                 <DoubleAnimation
12                                     Storyboard.TargetName="rect-one"
13                                     Storyboard.TargetProperty="Width"
14                                     From="10" To="300" Duration="0:0:30"
15                                 />
16                             </Storyboard>
17                         </BeginStoryboard>
18                     </EventTrigger>
19         </Rectangle.Triggers>
20         
21     </Rectangle>
23     <Rectangle x:Name="rect-two" Fill="Red" Stroke="Black" StrokeThickness="3"
24         Canvas.Left="10" Canvas.Top="150" Width="100" Height="100">
26         <Rectangle.Triggers>
27             <EventTrigger RoutedEvent="Rectangle.Loaded">
28                         <BeginStoryboard>
29                             <Storyboard>
30                                 <DoubleAnimation
31                                     Storyboard.TargetName="rect-two"
32                                     Storyboard.TargetProperty="Width"
33                                     From="10" To="300" Duration="0:0:30"
34                                 />
35                             </Storyboard>
36                         </BeginStoryboard>
37                     </EventTrigger>
38         </Rectangle.Triggers>
40     </Rectangle>
42 </Canvas>