开发者

how to clip text of the RichTexBox

hi I have RichTextBox bind to description(html format) from database and it is read only. I just need to show First line from description. How to achie开发者_如何学运维ve this


As Silverlight has no way of measuring the width of fonts, you'll need to take an arbitrary amount of the text, and simply Substring() it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜