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.
精彩评论