XBAP in full screen

I want to run my XBAP in full screen mode. Is there a way to get IE to open XBAP in full screen?

+4
source share
2 answers

As I work with full trust, whenever a user clicks the fullscreen button, I used the Process.Start () method to open IE in kiosk mode.

The following code solved my problem.

Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "-kc:\MyXbap.xbap"); 
+3
source

I'm not sure there is a good way to do this, but you can configure a shortcut to open IE in kiosk mode and run your xbap:

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

which will be full screen.

+2
source

All Articles