XBAP in fullscreen mode

一个人想着一个人 提交于 2019-12-05 16:05:01

As I am running with full trust, whenever user clicks on full screen button, I used Process.Start() method to open IE in kiosk mode.

The following code solved my issue.

Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "-k c:\MyXbap.xbap");

I'm not sure there's any good way to do this, but you could set up a shortcut to open IE in Kiosk mode and fire up your xbap:

"C:\Program Files\Internet Explorer\iexplore.exe" -k c:\MyXbap.xbap

that would 'full screen' it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!