* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-textblock-line-height.xaml
blobf44469dc290f5fdd803dfc407c5d49930594fcc7
1 <Canvas xmlns="http://schemas.microsoft.com/client/2007">
2   <TextBlock Canvas.Left="10" Canvas.Top="10">Use the <Run FontSize="28">LineStackingStrategy</Run> property to<LineBreak/>determine how a line box is created for each line. A value of<LineBreak/><Run FontSize="22">MaxHeight</Run> specifies that the stack height is the smallest value<LineBreak/>that contains all the inline elements on that line when those<LineBreak/>elements are properly aligned. A value of <Run FontSize="21">BlockLineHeight</Run><LineBreak/>specifies that the stack height is determined by the block element<LineBreak/>LineHeight property value.</TextBlock>
4   <!-- Blue Line at each baseline of the first TextBlock... -->
5   <Line Canvas.Left="10" Canvas.Top="39" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
6   <Line Canvas.Left="10" Canvas.Top="68" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
7   <Line Canvas.Left="10" Canvas.Top="99" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
8   <Line Canvas.Left="10" Canvas.Top="124" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
9   <Line Canvas.Left="10" Canvas.Top="154" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
10   <Line Canvas.Left="10" Canvas.Top="179" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
11   <Line Canvas.Left="10" Canvas.Top="202" X1="0" Y1="0" X2="475" Y2="0" Stroke="SkyBlue" StrokeThickness="1"/>
12 </Canvas>