title: How to force win10 to open virtual tablet keyboard?
body: <p>I have an app that needs a virtual keyboard. But, when I click some of my <code>TextBox</code>es, they don't make the virtual keyboard appear. I have tried using this:</p>
  
  <pre><code>System.Diagnostics.Process.Start("osk.exe");
  </code></pre>
  
  <p>But this opens another keyboard, one that does not close after the <code>TextBox</code> has no focus. How to force win10 to open the virtual tablet keyboard?</p>
  
  <p>To make myself clear:<br>
  This is running on a win10 touch screen PC. When I have the tablet mode enabled the virtual keyboard shows up on some <code>TextBox</code>es and does not on others. Hence why I want to force the keyboard to show.</p>
  
  <p><strong>EDIT:</strong>
  I have since found a way to show the "virtual tablet keyboard", however I would like to do it using the  <a href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.inputpane" rel="nofollow">InputPane</a> class. Can someone provide me with a example code just to get me started?</p>
  
  <p>Code to open it <strong>without</strong> using the <a href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.inputpane" rel="nofollow">InputPane</a> class: </p>
  
  <pre><code>System.Diagnostics.Process.Start("TabTip.exe");
  </code></pre>