xaml – Wrap TextBlock的最大行数

xaml – Wrap TextBlock的最大行数

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

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部