#941 – Forcing Uppercase or Lowercase in a TextBox

If you want to limit a user to entering only uppercase or only lowercase in a particular TextBox, you can set the CharacterCasing property as follows:

  • Normal – Default setting, allows both uppercase and lowercase
  • Lower – Force all entered text to lowercase
  • Upper – Force all entered text to uppercase

This setting impacts text typed or pasted into the TextBox.  It does not convert text set through code or via data binding.

With CharacterCasing=”Lower”:

941-001

With CharacterCasing=”Upper”:

941-002

 

Advertisements

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: