开发者

XBAP in fullscreen mode

开发者 https://www.devze.com 2023-03-18 19:46 出处:网络
I want to Run my XBAP in full screen mode. Is there any wa开发者_开发知识库y to make IE to open XBAP in fullscreen?As I am running with full trust, whenever user clicks on full screen button, I used P

I want to Run my XBAP in full screen mode. Is there any wa开发者_开发知识库y to make IE to open XBAP in fullscreen?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消