Touch screen to hide keyboard

i want the user to touch screen to hide the keyboard

The Screen does not have a touched event handler. This is what the Screen can provide Screen and means you cannot merely touch the screen to hide the keyboard. In the keyboard itself, you should be able to close the keyboard by pressing the Done key.

To do something similar what you want, you need a Button (or other control with an event handler) and hidekeyboard or consider the following feature of a TextBox

HideKeyboard() can be used to hide the keyboard. Only multiline text boxes need this. Single line text boxes close the keyboard when the users presses the Done key.



thank you for your help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.