在 Silverlight 应用程序中禁用调整大小

发布于 2024-12-13 06:36:48 字数 37 浏览 2 评论 0原文

如何在 Silverlight 应用程序中禁用调整浏览器大小

How to disable resizing the browser in Silverlight application

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

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

发布评论

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

评论(1

拥抱影子 2024-12-20 06:36:48

你不能也不应该能够。浏览器是属于用户的应用程序,它不应该由您的应用程序负责。

如果您想防止调整 Silverlight 内容的大小,请为托管 Silverlight 插件的 html 中的 标记指定固定的宽度和高度。

You can't and nor should you be able to. The browser is an application that belongs to the user, it is not something that your application should allowed to take charge of.

If you want to prevent the resizing of your Silverlight content then specify a fixed width and height for the <object> tag in the html hosting the Silverlight plugin.

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