简体   繁体   中英

LoadStateEventArgs can't loaded

guys, I have a problem with my Store App (Windows 8.1), I don't know the motive.

代码无法加载

The LoadStateEventArgs don't load. I put the using assembly using Windows.UI.Xaml.Navigation; and don't work.

How fix it?

NavigationHelper and LoadStateEventArgs aren't defined in any of the assemblies; they're included directly in your project when you add a new item based on the Basic Page template:

基于“基本页面”模板的新项目

Once you do that, a couple of file are added to the Common folder:

通用文件夹中的NavigationHelper.cs

Among them is also NavigationHelper.cs which contains both missing classes. Their namespace matches the folder ( App1.Common in my case).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM