Whenever I do richtextbox1.Clear()
it says the method doesn't exist. And it's pretty much the only solution I get, everywhere I go.
I've tried looking for a Text
property, and I've tried to look through the Document
property as well, but to no avail.
What I am missing? The box needs to be cleared, like you can do with a textbox.Clear()
call.
You can clear a RichTextBox with richTextBox.Document.Blocks.Clear();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With