c# - 不支持 UWP NavigationView

标签 c# uwp

我正在尝试制作带有侧边菜单的 UWP 应用程序。当我尝试 this教程,我在 XAML 中遇到错误:

NavigationView is not supported in a windows universal project

构建选项:

Target Version:   Win 10 Creators Update (10.0; Build 15063)
Minimum Version:  November Update (10.0' Build 10586)

最佳答案

使用 NavigationView 类的要求:

Device family: Windows 10 Fall Creators Update (introduced v10.0.16299.0)

API contract: Windows.Foundation.UniversalApiContract (introduced v5)

引用:NavigationView Class

关于c# - 不支持 UWP NavigationView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46980681/

相关文章:

c# - 接口(interface)引用

c# - 删除 StreamWriter 的最后一行?

C# 从另一个类引用文本框

c# - 如何在 UWP 中通过多个页面传递对象

c# - 如何从另一个 SoftwareBitmap (UWP) 的区域创建 SoftwareBitmap

c# - 如何检查图像是否是另一个图像的缩放版本

c# - ASP.NET Web 应用程序 'Could not load the assembly ' App_Web_'

c# - 此绑定(bind)如何更改我的原始收藏?

c# - UWP AudioGraph API-FrameOutputNode读取字节错误

windows-phone - Caliburn 微导航服务导致空引用异常