Make WPF RichTextBox accept only text and Set maximum length.
I want to restrict the my RichTextBox will only accept plan text, i. e user cannot allow to paste the image in it.also want to set maximum number of character allow in RichTextBox.

How can i achieve this.?
Make WPF RichTextBox accept only text and Set maximum length.
===

I want to restrict the my RichTextBox will only accept plan text, i. e user cannot allow to paste the image in it.also want to set maximum number of character allow in RichTextBox.

How can i achieve this.?