Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

LineBreak inside a TextBlock

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     x:Class="Microsoft.Samples.Graphics.RectangleExample"     WindowTitle="Example">   <Canvas>     <TextBlock Grid.Row="2" Margin="3">       Proportional Tiles<LineBreak></LineBreak>(no stretch)     </TextBlock>   </Canvas> </Page>