title: Open Windows 10 touch keyboard docked in WPF
body: <p>We started creating a WPF touch application in Windows 8 and recently migrated to Windows 10. One feature we implemented is opening the Windows Keyboard when a <code>TextBox</code> receives focus. In Windows 8, it was possible to dock the keyboard to the bottom by setting the registry setting <code>EdgeTargetDockedState</code> and starting the TabTip process:</p>
  
  <pre><code>     string path =  @"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe";
       var info = new ProcessStartInfo(path);
       info.WindowStyle = ProcessWindowStyle.Maximized;
       var p = new Process();
       p.StartInfo = info;
       p.Start();
  </code></pre>
  
  <p>The Windows 10 keyboard however doesn't seem to have the same dock behavior as in Windows 8. The keyboard now overlays any maximized window which hides the bottom part of any application. Only not-maximized windows are resized to fit the remaining space.</p>
  
  <p>I've checked the following links, but found no solution:</p>
  
  <ul>
  <li><a href="https://superuser.com/questions/951841/windows-10-touch-keyboard-doesnt-dock-or-maximize-at-the-bottom-of-the-screen">https://superuser.com/questions/951841/windows-10-touch-keyboard-doesnt-dock-or-maximize-at-the-bottom-of-the-screen</a></li>
  <li><a href="http://answers.microsoft.com/en-us/windows/forum/windows_10-desktop/windows-10-touch-keyboard-doesnt-dock/3c253400-568f-4e89-a253-0d7a747b5b63" rel="noreferrer">http://answers.microsoft.com/en-us/windows/forum/windows_10-desktop/windows-10-touch-keyboard-doesnt-dock/3c253400-568f-4e89-a253-0d7a747b5b63</a></li>
  </ul>
  
  <p>Can the Windows 10 keyboard be docked programmatically for a maximized window?</p>