【问题标题】:WPF library with page - navigation of the application [closed]带有页面的 WPF 库 - 应用程序的导航 [关闭]
【发布时间】:2013-11-18 09:43:39
【问题描述】:

现在我对您的应用程序架构进行试验。我的页面(View/MyPage.xaml)有 wpf 库(AppView.dll MVVM)。我在我的 wpf 应用程序中使用这个库。如何为导航设置正确的 URI?我尝试了 URI 所以“pack://application:,,,/AppView;View/MyPage.xaml”。但是有一个错误 - “找不到资源 appview;view/MyPage.xaml”。如何使用另一个程序集的导航页?

【问题讨论】:

    标签: c# wpf mvvm navigation


    【解决方案1】:

    尝试使用/AppView;component/View/MyPage.xaml 或“pack://application:,,,/AppView;component/View/MyPage.xaml"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-04
      • 1970-01-01
      • 2013-04-17
      相关资源
      最近更新 更多