Skip to content

Instantly share code, notes, and snippets.

@TheAlphamerc
Created September 18, 2018 09:26
Show Gist options
  • Save TheAlphamerc/63b3e7c15f1c59e862af1cf0f13e8a68 to your computer and use it in GitHub Desktop.
Save TheAlphamerc/63b3e7c15f1c59e862af1cf0f13e8a68 to your computer and use it in GitHub Desktop.
Sometimes you don’t want the mobile keyboard to capitalize the user’s entry. For example, when entering a username or email address. You can now control capitalization via an additional keyboard flag. Done via XAML it looks like this:
<Entry Placeholder="Enter your text" HeightRequest="40">
<Entry.Keyboard>
<Keyboard x:FactoryMethod="Create">
<x:Arguments>
<KeyboardFlags>CapitalizeNone</KeyboardFlags>
</x:Arguments>
</Keyboard>
</Entry.Keyboard>
</Entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment