开发者

silverlight richtextbox display rtf

开发者 https://www.devze.com 2023-03-18 16:04 出处:网络
I have looked around for awhile and have not seen anything yet. I was hoping someone came up with somethi开发者_StackOverflow中文版ng by now that can guide me in the right direction. I have an rtf str

I have looked around for awhile and have not seen anything yet. I was hoping someone came up with somethi开发者_StackOverflow中文版ng by now that can guide me in the right direction. I have an rtf string pulled from my database. I was trying to find a way to display this rtf string formatted in silverlights richtextbox.

From what I have read silverlights richtext stores formatted text as xaml and not true rtf. Has anyone found a work around?

Thanks in advance.


As far as I know, the standard RichTextBox for SL cannot load the RTF text. I would suggest that you find for a custom solution. For example, our DXRichEdit control is able to work with RTF, Docx, Doc and many other formats. You will find a demo of this control at:

RichEdit Demo

0

精彩评论

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