Bind text with links to RichTextBox

后端 未结 3 933
野趣味
野趣味 2020-12-06 03:16

I need to bind text which may contain hyperlinks to RichTextBox so it could show text as normal text and links as hyperlinks.

For example I have following text:

3条回答
  •  -上瘾入骨i
    2020-12-06 03:53

    Parse the Hyperlink, and create following structure (With C#, of course):

    
        Hello World!
        http://www.stackoverflow.com
    

提交回复
热议问题