Skip to main content
Logo Appt Light

Input keyboard type on Xamarin

Setting the keyboard type for input fields helps user entering data. For example, if users need to enter a number, it helps to show a numeric keyboard. If users need to enter an e-mail address, it helps if the at-key (@) is shown. You should always set an appropriate keyboard type.

In Xamarin.Forms, you can set a keyboard type by using the Keyboard property.

The following Keyboard properties are defined:

  • Chat: keyboard for chatting, includes emoji

  • Default: default keyboard

  • Email: keyboard for entering an e-mail, includes @

  • Numeric: keyboard for entering numbers, includes , and .

  • Plain: keyboard for entering plain text

  • Telephone: keyboard for entering phone numbers, includes plus and hash

  • Text: keyboard for entering text, includes enter

  • Url: keyboard for entering url's, includes /

<Editor Keyboard="Email" />

Feedback?

Let us know!