Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: C#
Expertise: Beginner
Mar 1, 2007



Application Security Testing: An Integral Part of DevOps

Make a Textbox Display Characters in a Particular Case

Making a textbox display its characters in a particular case (upper, lower, or title) is very easy with the help of the CharacterCasing property, which uses the values of the enum Forms.CharacterCasing.

In the following example, CharacterCasing is used to display all typed characters in uppercase:

textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
You can also set this at design time.

Srinath MS
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date