* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-shape-line-stretch-gradient.xaml
blob9041f00d64309d03581884109c4af1b0f146c432
1 <Canvas xmlns="http://schemas.microsoft.com/client/2007" Width="100" Height="100">
2         <Rectangle Width="100" Height="100" Canvas.Left="0" Canvas.Top="0" Fill="DarkBlue" />
3         <Line StrokeThickness="1" Width="100" Height="100" X1="0" Y1="0" X2="10" Y2="10" Stretch="Fill">
4                 <Line.Stroke>
5                         <LinearGradientBrush SpreadMethod="Reflect" StartPoint="0,0" EndPoint="1,1">
6                                 <LinearGradientBrush.GradientStops>
7                                         <GradientStop Color="White" Offset="0.0" />
8                                         <GradientStop Color="Red" Offset="1.0" />
9                                 </LinearGradientBrush.GradientStops> 
10                         </LinearGradientBrush>
11                 </Line.Stroke>
12         </Line>
13 </Canvas>