TextBox.InputScope: Automatic Capitalization for Touch Keyboard

Nathan Sokalski 4,126 Reputation points

I am writing a UWP app that contains a TextBox in which the user will enter a name for a player. I want the user to be able to enter letters (upper & lower), spaces, and numbers. They can obviously do this with most of the touch keyboards, but I would like (to encourage that they only use these characters, since I will not actually be validating the input) the keyboard to do the following:

  1. Display upper case when initially opened
  2. Display as few characters other than letters, spaces, and numbers as possible (I can deal with it if other characters are available, it is just not preferable)

The closest thing to this that I could find was InputScope="NameOrPhoneNumber" in the TextBox as documented at:


One of the things claimed for this is the following:

Automatic capitalization: off by default, can be enabled (first letter of each word is capitalized)

If it is off by default, how do I enable it? I could not find a property to do this. When I do enable it (however that is), will that also cause it to initially open with upper case? As for the displaying as few other characters as possible, I don't know if there is a better choice for InputScope or a way to customize what is displayed, but if there is, I would like to know. Can anybody help me here? Thanks.

Universal Windows Platform (UWP)
{count} votes