I already know how to display the letters in the conversation one by one, but once I replace TextBlock with RichTextBlock, it will display the “<>” and the contents of “<>”, I wonder how to fix this
what does ur code look like and what do u actually want to happen?
I want the dialogue to appear like a typewriter, as shown in the video. Since I want to highlight certain keywords in the dialogue and maybe add images, I need to use RichTextBlock, but the video uses TextBlock. When I use RichTextBlock, the above error occurs.
A rich text may be <????>A rich text…</>
The answer is to use a Timer to read each character one by one, and manually add <????>, </> on both sides when the text content is read.
1 Like