I need only Uppercase on avalonedit.
how can I attach the property? Or is there any other alternate way?
There's no built-in feature for that.
I think the best way to implement this is to handle the TextArea.TextEntering event. If the input text isn't all uppercase, abort the text input by setting e.Handled = true;, and call TextArea.PerformTextInput() again with the uppercase version.
TextArea.TextEntering
e.Handled = true;
TextArea.PerformTextInput()
Copyright © 2021 Jogjafile Inc.
There's no built-in feature for that.
I think the best way to implement this is to handle the
TextArea.TextEntering
event. If the input text isn't all uppercase, abort the text input by settinge.Handled = true;
, and callTextArea.PerformTextInput()
again with the uppercase version.