How to make a TextBox to take input starting with a lower case letter?
Asked Answered
B

1

6

I have a Windows Phone 8.1 Application.

I have a TextBox in it.

<TextBox />

As soon as I tap on the TextBox I want the normal alphabet layout to open but with the first letter starting with lowercase unlike default which starts with uppercase. I tried changing various InputScopes. It didn't work. Am I doing something wrong.

I would be glad if someone can point me in the right direction. Thanks in Advance.

Bequeath answered 16/1, 2015 at 9:32 Comment(0)
A
8

You may use:

<TextBox IsTextPredictionEnabled="False" IsSpellCheckEnabled="False"/>

As it is said at MSDN:

Auto-capitalization: enabled if IsSpellCheckEnabled = true, disabled if IsSpellCheckEnabled = false

Almeda answered 16/1, 2015 at 9:55 Comment(4)
Thanks a lot. I couldn't relate capitalization to spell checking. MS could have done this in a better way I guess. But this worked. Thanks again.Bequeath
IsTextPredictionEnabled="False" is not required right?Bequeath
@vivekp It depends on you - try it. When prediction is enabled it will show some words with capitalized letter - for example names.Almeda
Got it. I was just saying that wouldn't be a required field if I just wanted to have lower case.Bequeath

© 2022 - 2024 — McMap. All rights reserved.