none
Windows10 下 WPF程序如何调用系统软键盘或者Win10自带的KeyBoard RRS feed

答案

全部回复

  • 看看这篇文章:

    Showing the Windows 8 Touch keyboard in WPF


    希望我的答案能帮助更多的人。

    2016年8月15日 8:15
  • Hi,

    public class TouchEnabledTextBox : TextBox
    {
        public TouchEnabledTextBox()
        {
            this.GotTouchCapture += TouchEnabledTextBox_GotTouchCapture;
        }
    
        private void TouchEnabledTextBox_GotTouchCapture(object sender, System.Windows.Input.TouchEventArgs e)
        {
            string touchKeyboardPath = @"C:\Program Files\Common Files\Microsoft Shared\Ink\TabTip.exe";        
            Process.Start( touchKeyboardPath );
        }
    } 

    可以使用上面的代码。

    Best Regards,

    Hart


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    2016年9月30日 6:31