Hello,
Welcome to Microsoft Q&A!
It will be more complicated if you really need to show HTML string in RichEditBox
since there is no way that could directly import the string to it. There are two ways that might be possible to do this.
The first one is to convert the HTML string to RTF that could be directly loaded by the RichEditBox
. You might check if there are third party library that could do it otherwise you need to implement it by yourself.
The second way is to parse the Html string by yourself. Generate the corresponding content based on the tag type by recursion in code, then write conversion methods for various tags. After that, you could directly set the content of the RichEditBox
.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.