Silverlight、子窗口和后退按钮
我正在使用 Silverlight 导航风格的应用程序。
有没有办法让浏览器的后退按钮关闭子窗口而不是返回页面?
现在,“后退”按钮会返回,同时保持子窗口打开。
编辑
这就是我希望后退堆栈的样子:
- 编辑标题(子窗口)
- 查看记录(页面)
- 主页(页面)
I am using a Silverlight Navigation style application.
Is there a way to back the browser's Back button close a ChildWindow instead of going back a page?
Right now the Back button goes back while leaving the ChildWindow open.
EDIT
This is what I would like my back-stack to look like:
- Edit Title (ChildWindow)
- View-Record (Page)
- Home (Page)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终做的是取消导航,然后将旧的哈希标签推回到标题中。
What I ended up doing is canceling the navigation and then pushing the old hash tag back into the title.