全屏模式下的 XBAP

发布于 2024-11-18 13:50:44 字数 39 浏览 7 评论 0原文

我想以全屏模式运行 XBAP。有没有办法让IE全屏打开XBAP?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

墨小墨 2024-11-25 13:50:44

由于我以完全信任的方式运行,每当用户单击全屏按钮时,我都会使用 Process.Start() 方法以 kiosk 模式打开 IE。

以下代码解决了我的问题。

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

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");
花间憩 2024-11-25 13:50:44

我不确定有什么好的方法可以做到这一点,但您可以设置一个快捷方式以 Kiosk 模式打开 IE 并启动您的 xbap:

"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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文