WPF ComboBox, force input to UpperCase

后端 未结 4 1252
孤城傲影
孤城傲影 2021-01-20 05:45

I have an editable WPF ComboBox with TextSearchEnabled. I need to force the user\'s text input to uppercase when they type to filter the ComboBox.

I was thinking of

4条回答
  •  遇见更好的自我
    2021-01-20 06:31

    I found that post where the attached property is used. That permit to use that for all of your ComboBox without rewriting the code.

提交回复
热议问题