문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top