* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-shape-path-stretch-gradient.xaml
blobcb8ae38ce914748150e222b2f9d97ada6932c75f
1 <Canvas
2         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4         Width="100" Height="200">
5         
6         <Rectangle Width="100" Height="200" Canvas.Left="0" Canvas.Top="0" Fill="DarkBlue" />
8         <Path Width="100" Height="100" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Data="F1 M 0,0L 100,0L 100,10L 50,5L 0,10">
9                 <Path.Fill>
10                         <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="1,1">
11                                 <LinearGradientBrush.GradientStops>
12                                         <GradientStop Color="White" Offset="0.0" />
13                                         <GradientStop Color="Red" Offset="1.0" />
14                                 </LinearGradientBrush.GradientStops> 
15                         </LinearGradientBrush>
16                 </Path.Fill>
17         </Path>
19 </Canvas>