Hide metro Touchscreenkeyboard programmatically

Is there any way to hide keyboard on metro surface when user press “enter”?

You can create some XAML control and set focus to it.
The problem is that Microsoft did not expose on screen keyboard API. We hacked it around by making MainPage an input control, so keyboard opens when we activate it. Keyboard deactivates, when it looses focus.

I used XAML before Unity 4.5. But now Unity supports TouchScreenKeyboard for metro and i thought if i can show keyboard i’ll be able to hide it…

Well… 2 years later… Is there any way of hiding it?

Yes, with exception for WSA 8.1 (Phone 8.1 and all of UWP does support closure).

Good… How I do it? TouchScreenKeyboard only has a Open method, don’t have close or something similar.

Set active property to false.
http://docs.unity3d.com/ScriptReference/TouchScreenKeyboard-active.html