I need a textbox where the user only can work with uppercase characters. Also some special characters like – _ and <.
I wonder if there could be a ways to catch the PreviewKeyDown or KeyDown Event to convert the pressed keys to UpperCase.
MyTextBox1 > System.Windows.Input.KeyEventArgs > Key is ReadOnly.
Any idea how that can be managed?
You don’t need to do that, you can just use the CharacterCasing property
Other than that if you need a more general answer, look at my answer to How do I get a TextBox to only accept numeric input in WPF? here