I have a class that inherits the wpf textbox and i have overridden the OnTextChanged, OnTextInput, OnKeyDown now to the funny part..
If i press any thing but Space all 3 events are triggered, but if i press space only the OnTextChanged is triggered? so why doesn’t space count as a key or textinput?
You have to handle the
PreviewKeyDownevent as the space is by default handled and therefore consumed by the framework.