看了半天的msdn,还是搞不明白。
也就是说是一个Standalone的Windows应用,但需要在界面上增加xbap似的导航。

解决方案 »

  1.   

    新建一个Windows(WPF)应用,给项目增加一个Page,打开App.xaml把StartupUri指定为Page1.xaml,再把Windows1.xaml及其CodeBehind删掉。
      

  2.   

    <Frame Source="Page2.xaml" />
    <Hyperlink NavigateUri="Page2.xaml">Navigate to Page 2</Hyperlink>
    等都不好使。什么原因?
      

  3.   

    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.