次のコードでは、テキスト ABCDE がグリッドの上部から開始され、文字がグリッドの外に配置されます。
テキストがグリッド内に留まり、最後の文字がグリッドの上部で終わるようにするにはどうすればよいですか?
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<TextBlock Text="ABCDE" >
<TextBlock.RenderTransform>
<RotateTransform Angle="-90" />
</TextBlock.RenderTransform>
</TextBlock>
</Grid>
</Window>