How to track which character is deleted in TextBox in WPF?
- by Ashish Ashu
I want to track which character is deleted by the user through Delete or BackSpace Key.
I am handling RichTextBox_ChangedEvent of textbox.
Can I extract the deleted character from TextChangedEventArgs *e.Changes* and if yes How can I do that?
I want to restrict user to from deleting any characters from the TextBox. I want user can delete only two characters ( let's say "(" or ")" )
Please suggest.