Live Chat Icon For mobile
Live Chat Icon

How do I make a TextBox use all upper-case (or lower-case) characters ?

Platform: WPF| Category: TextBox

Use the CharacterCasing property of the TextBox.

[C#]

textBox1.CharacterCasing = CharacterCasing.Upper;
textBox2.CharacterCasing = CharacterCasing.Lower;

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.