0

I am new to xamarin forms, I have a requirements that should hide the mobile keyboard when user click search button.

I am not sure yet how to do it in xamarin forms

Will
  • 1
  • 1
  • 1
  • 6
    Possible duplicate of [How to dismiss keyboard on button press in Xamarin Forms](http://stackoverflow.com/questions/30437362/how-to-dismiss-keyboard-on-button-press-in-xamarin-forms) – Offir Jan 09 '17 at 13:37

1 Answers1

6

There are a couple of ways to do this, the most common are as follows:

  View.ResignFirstResponder();

OR

  View.EndEditing(true);
JoeTomks
  • 3,243
  • 1
  • 18
  • 42