✅ ERROR: The calling thread cannot access this object because a different thread owns it.
Hey, I'm getting this error
I've tried Googling a ton and even tried ChatGPT to see if it could fix it for me, all answers point to use
The calling thread cannot access this object because a different thread owns it. from the following method when trying to add a Run element to a RichTextBoxI've tried Googling a ton and even tried ChatGPT to see if it could fix it for me, all answers point to use
chatRichTextBox.Dispatcher.Invoke but it still fails, any ideas?