How should I convert all WPF TextBox input text into Caps?
My guess would be to set the CharacterCasing property on the Textbox.
I believe TextBox has a CharacterCasing
property you can set to Upper
Add something like that in your global styles in App.xaml
<Style TargetType="{x:Type TextBox}">
<Setter Property="VerticalAlignment" Value="Center"></Setter>
<Setter Property="Height" Value="28"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="CharacterCasing" Value="Upper" />
</Style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With