XBAP in fullscreen mode

2019-05-05 17:39发布

I want to Run my XBAP in full screen mode. Is there any way to make IE to open XBAP in fullscreen?

2条回答
孤傲高冷的网名
2楼-- · 2019-05-05 18:32

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.

查看更多
迷人小祖宗
3楼-- · 2019-05-05 18:36

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");
查看更多
登录 后发表回答