1
votes

i've a problem. I wanted a method to open touch keyboard on windows when the user click on TextBox on the wpf client.

So i've found this:

System.Diagnostics.Process.Start("TabTip.exe");

But I don't have a Process library on Windows universal app. My target is open automatically the keyboard when the textbox or text input is focused.

There is a solution for do this ? From C# code or WPF? exist a solution ?

My question it's not a duplicate of this, because i wanted to open/close automatically a touch keyboard every time a text input has focused.

Thanks

1

1 Answers

0
votes

The title of your question makes it unclear, if your are asking about WPF or UWP. It works by default in UWP when your app is launched on touch device. On WPF its a little bit different. Lately, MS changes this behavior very often. Currently, this works in WPF by default on touch device, but only if your Window does not have WindowsStyle property set to None.

Edit: In UWP it works by default, but you have to bo on touch device. If you run your app in simulator, make sure you use touch mode.enter image description here