Displaying Error against the wrong input in textbox
I am working on a project that requires getting input from the user in a multiline textbox in WPF. I want to display an error message as soon as a wrong input is inserted and I want to display it on the side of the textbox. I have tried doing this by throwing exception but it's not displaying the error message on the display. Any suggestions how this can be accomplished?