【发布时间】:2011-11-09 18:54:06
【问题描述】:
在 Orientation="Horizontal" TextWrapping 在代码下面不起作用请检查错误告诉我。
我的代码:
<StackPanel>
<StackPanel Orientation="Horizontal" Width="400">
<TextBlock Text="dfgdfdgdfgfdgdfg" Foreground="AntiqueWhite" FontSize="30" TextWrapping="Wrap"/>
<TextBlock Text=" vs " FontSize="30" Foreground="White" TextWrapping="Wrap"/>
<TextBlock Text="Indiaafda (text)" Foreground="Bisque" FontSize="30" TextWrapping="Wrap"/>
</StackPanel>
</StackPanel>
我喜欢这样:
South AfricaTeamPlayed vs west
Indies (test)
但输出显示这个,
South AfricaTeamPlayed vs west
Indies (test)
谢谢
【问题讨论】: