Reputation: 4124
I would like to invoke On-Screen Keyboard on button click in WPF. Is this possible and can I do this in C#/XAML?
I just want to have one button, that opens and another one to close the keyboard.
Upvotes: 1
Views: 4110
Reputation: 13971
This will help you start the default On-Screen keyboard,hence there wont be any effort to create one.
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.System) + Path.DirectorySeparatorChar + "osk.exe");
or just give : Process.Start("C:\\Windows\\System32\\osk.exe");
or Process.Start("osk.exe");
Not : if platform is 64 bit debug in x64
osk = on screen keyboard !
Upvotes: 2