积极答复者
怎么使用RichTextBlockOverFlow的HasOverFlowContent属性

问题
答案
-
Hi 小鹏鹏,
如果RichTextBlock有OverFlow而RichTextBlockOverFlow没有OverFlow的话,
RichTextBlock的HasOverFlowContent会变成Ture,
RichTextBlockOverFlow的HasOverFlowContent仍旧为False。
你可以参考这个例子,第四个Scenario里面有动态改变文本长度的例子,设个断点查看下是否为True。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已编辑 Jamles HezModerator 2013年9月9日 6:56 1
- 已标记为答案 Jamles HezModerator 2013年9月11日 7:50
全部回复
-
Hi 小鹏鹏,
如果RichTextBlock有OverFlow而RichTextBlockOverFlow没有OverFlow的话,
RichTextBlock的HasOverFlowContent会变成Ture,
RichTextBlockOverFlow的HasOverFlowContent仍旧为False。
你可以参考这个例子,第四个Scenario里面有动态改变文本长度的例子,设个断点查看下是否为True。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已编辑 Jamles HezModerator 2013年9月9日 6:56 1
- 已标记为答案 Jamles HezModerator 2013年9月11日 7:50