WPF: How to make the TextBox/TextBlock/Label show "xxx..." if the text content too long? windows
設置 屬性 「TextTrimming」:app
===========================================================spa
Update:2014-10-21blog
問題:Grid中所在列的寬爲Auto,則TextTrimming無效。ip
解決方案:設置寬度「n」 or "[n]*"。ci
TextTrimmingget
圖[1]io
-----------------------------------------------------------------------------------------------------------bfc
圖[2]
【END】