摘要:
第一种:<TextBlock> This is line 1.<LineBreak/> This is line 2.</TextBlock>第二种<TextBlock xml:space="preserve">This is line 1. This is an indented line 2.</TextBlock>第二种加了xml:space="preserve",可以直接在文本上按space,tab键,不用标记,比较方便 阅读全文
posted @ 2011-08-30 15:34
徐文峰
阅读(18578)
评论(1)
推荐(3)
摘要:
<Label MaxWidth="550"><TextBlock TextWrapping="Wrap"Text="在此输入要换行的文字,前提是它足够长,并且Label的MaxWidth不足以让它一行显示。" /></Label> 阅读全文
posted @ 2011-08-30 15:34
徐文峰
阅读(8494)
评论(0)
推荐(0)

浙公网安备 33010602011771号