#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

 

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

Leave a comment