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.
我有两个框架,我需要根据第一框架中的按钮单击事件加载第二框架,并且在加载第二框架后需要隐藏第一框架。
你为什么不简单地导航?您可以NavigationService.Navigate()在按钮单击事件上使用并在同一框架内导航,那么您不需要单独的框架。您对使用 2 个不同的框架有什么具体要求吗?
NavigationService.Navigate()