Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 847 Bytes
<StackPanel
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="AccessTextSimple.Pane1"
>
<TextBlock Margin="10,10,3,3" Grid.Column="0" Grid.Row="0" FontSize="24">Bidirectional Text</TextBlock>
<TextBlock Margin="10,10,3,3" Grid.Column="0" Grid.Row="1" FontSize="14" Grid.ColumnSpan="2">
The following examples demonstrate:
</TextBlock>
<!--<SnippetLTR>-->
<TextBlock Background="DarkBlue" Foreground="LightBlue"
FontSize="20" FlowDirection="LeftToRight">
This is a left-to-right TextBlock
</TextBlock>
<!--</SnippetLTR>-->
<!--<SnippetRTL>-->
<TextBlock Background="LightBlue" Foreground="DarkBlue"
FontSize="20" FlowDirection="RightToLeft">
This is a right-to-left TextBlock
</TextBlock>
<!--</SnippetRTL>-->
</StackPanel>