* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-textblock-brush-runs.xaml
blob6a7b92a2f2d65a553ecfc3239ed2b6197730bfea
1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2   <Canvas.RenderTransform>
3     <TransformGroup>
4       <ScaleTransform ScaleX="3" ScaleY="3"/>
5       <TranslateTransform X="20" Y="20"/>
6     </TransformGroup>
7   </Canvas.RenderTransform>
9   <TextBlock TextWrapping="Wrap" Width="250" FontFamily="arial" FontSize="13">
10     <TextBlock.Foreground>
11       <RadialGradientBrush Center="0.5,0.5" RadiusX="0.5" RadiusY="0.5">
12         <RadialGradientBrush.GradientStops>
13           <GradientStop Color="Red" Offset="0"/>
14           <GradientStop Color="Blue" Offset="1"/>
15         </RadialGradientBrush.GradientStops>
16       </RadialGradientBrush>
17     </TextBlock.Foreground>
18     <Run>The cat sat on the mat and the cow jumped over the moon.</Run>
19     <Run>The little dog laughed to see such fun and the dish ran away with the spoon.</Run>
20   </TextBlock>
21 </Canvas>