问题
I have a WPF application that uses a TabControl to display lets say Tab1, Tab2 and Tab3.
1) How can I enable this application to run in Kiosk mode on Surface tablet as well as Windows touch PC devices? 2) My second question : Is it possible to disable Tab1 and Tab2 in Kiosk mode? The user will have access to only Tab3 in Kiosk mode.
Any help will be appreciated. Thanks.
回答1:
The Windows 10 Kiosk mode is for Universal Windows Platform (UWP) apps only. WPF apps don’t qualify.
Microsoft provides instructions for configuring Windows for kiosk usage, but most options require Windows 10 Enterprise or Education editions.
回答2:
As mentioned, you cannot use a WPF for Kiosk mode and need Windows Educational or Enterprise for Shell Launcher. A poor's man alternative is explained here: http://carlfranklin.net/blog/2015/6/13/kiosk-mode-in-windows-8x.html
Then put your exe file in the Startup folder as explained here: https://www.howtogeek.com/228467/how-to-make-a-program-run-at-startup-on-any-computer/
来源:https://stackoverflow.com/questions/47262630/wpf-application-in-kiosk-mode