子窗口模式

发布于 2024-08-17 19:37:39 字数 116 浏览 3 评论 0原文

默认情况下,ChildWindow Overlay 覆盖(并禁用)整个根视觉对象。我只想覆盖(并禁用)我的 UI 的一部分。如何更改现有的 ChildWindow 以允许我指定根?

谢谢,
标记

By default the ChildWindow Overlay covers (and disables) the entire root visual. I want to cover (and disable) just part of my UI. How can I alter the existing ChildWindow to allow me to specify the Root?

Thanks,
Mark

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

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

发布评论

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

评论(1

〆凄凉。 2024-08-24 19:37:39

您不能仅禁用部分底层 UI,而是禁用整个 UI。当 ChildWindow 处于活动状态时,底层 UI 上的所有控件都不会接收鼠标或键盘事件。

没有办法将 ChildWindow 限制为不同的 Root,它始终以 Silverlight 控件级别为根。

You can't disable only part of the underlying UI the whole of it is disabled. When the ChildWindow is active none of the controls on the underlying UI will receive Mouse or Keyboard events.

There is no way to limit the ChildWindow to a different Root, it is always rooted at the Silverlight control level.

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