Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要挂钩框架导航事件。我应该如何以及何时加入框架导航事件?我尝试在页面的构造函数中,但似乎尚未创建框架。谢谢
如果您将 Frame 放置在页面中,请尝试在 Page.OnNavgatedTo 事件中将其挂钩并在 Page.OnNavigatedFrom 中取消挂钩。