Home » FAQ » WPF » TextBox » How do I make a TextBox use all upper-case (or lower-case) characters ?
Use the CharacterCasing property of the TextBox.
[C#] textBox1.CharacterCasing = CharacterCasing.Upper; textBox2.CharacterCasing = CharacterCasing.Lower;
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with