When the user presses the Insert key in the WPF text box, the control switches between the insert and overwrite mode. This is usually rendered using a different cursor (line against block), but it is not. Since the user is completely unaware that the rewrite mode is active, I just would like to completely disable it. When the user presses the Insert key (or, however, this mode can be activated, intentionally or accidentally), the TextBox should simply remain in insert mode.
I could add some keypress event handler and ignore all such events by pressing the Insert key without modifiers. It would be enough? Do you know a better alternative? There are several TextBox controls in my view, and I don't want to add event handlers everywhere ...
source share