适应换行属性:Textwrapping Wrap
给相应的文本设置相应的颜色,并换行
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<TextBlock Height="171" HorizontalAlignment="Left" Margin="87,67,0,0" Name="textBlock1" Text="" VerticalAlignment="Top" Width="289" TextWrapping="Wrap" >
<Run Text="Hello" Foreground="Red"/><LineBreak/>
<Run Text="World!" Foreground="Green"/>
</TextBlock>
</Grid>