【发布时间】:2013-01-15 12:21:25
【问题描述】:
这是我的TextBlocks:
<StackPanel Orientation="Horizontal" Margin="0,3,0,0">
<TextBlock Text="6 or more characters, at least one letter and a number, " FontFamily="Segoe UI" Foreground="#000000" FontSize="13"/>
<TextBlock Text="no symbols" FontFamily="Segoe UI" Foreground="#000000" FontSize="13"/>
</StackPanel>
这是输出(屏幕截图):
为什么TextBlock 会修剪结尾空格?但是,当有前导空格时,它可以正常工作。
【问题讨论】:
标签: xaml windows-8 microsoft-metro .net-4.5