<Frame Source="Page2.xaml" /> <Hyperlink NavigateUri="Page2.xaml">Navigate to Page 2</Hyperlink> 等都不好使。什么原因?
WPF supports hyperlink-driven navigation in both standalone and browser applications. When you set Application.StartupUri to either a XAML or HTML Page(knowing that neither of these can provide its own window) creates an instance of NavigationWindow to host them.
<Hyperlink NavigateUri="Page2.xaml">Navigate to Page 2</Hyperlink>
等都不好使。什么原因?
When you set Application.StartupUri to either a XAML or HTML Page(knowing that neither of these can provide its own window) creates an instance of NavigationWindow to host them.