- 2025年05月13日
- 星期二
我有一个TextBlock,具有以下设置: TextWrapping=Wrap 我可以确定最大行数吗? 例如考虑以下字符串TextBlock.Text: This is a very good horse under the blackboard!! 它目前已经显示如下: This is a very good horse under the blackboard!! 我需要这样
我有一个TextBlock,具有以下设置: TextWrapping=Wrap 我可以确定最大行数吗? 例如考虑以下字符串TextBlock.Text: This is a very good horse under the blackboard!! 它目前已经显示如下: This is a very good horse under the blackboard!! 我需要这样