简体   繁体   English

无法导航到新页面Windows Phone 8.1

[英]Can't navigate to new page windows phone 8.1

when I add a new page to my Project and use "Frame.Navigate(typeof(Page2xaml)); " Visual studio does not recognize my page: http://i.imgur.com/OP1SKVk.png How can I solve this? 当我向我的项目添加一个新页面并使用“Frame.Navigate(typeof(Page2xaml));”Visual Studio无法识别我的页面时: http ://i.imgur.com/OP1SKVk.png如何解决这个问题? Thanks! 谢谢!

尝试将您的xaml页面名称(Emergencias)大写,然后尝试Frame.Navigate(typeof(Emergencias));

this.Frame.Navigate(typeof(MyPage));

如果您的页面名为TestPage.xaml,那么您的代码应该是

Frame.Navigate(typeof(TestPage));

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Phone 8.1 ListView MenuFlyout:无法使用Frame.Navigate()打开新页面 - Windows Phone 8.1 ListView MenuFlyout: Can't open new Page with Frame.Navigate() Windows Phone 8.1导航到同一页面的新实例 - Windows Phone 8.1 navigate to new instance of same page 如何使用Windows Phone 8.1上创建的新实例导航到同一页面 - How to navigate to the same page with a new instance created on Windows Phone 8.1 无法从 Windows Phone 8.1 内容对话框导航 - Can´t navigate from Windows Phone 8.1 Content Dialog 如何导航到Windows Phone 8.1的主页 - How to Navigate to the main Page on Windows Phone 8.1 在Windows Phone 8.1(C#)中刷新页面或导航到同一页面 - Refresh a page or navigate to same page in windows phone 8.1 (c#) 从另一个页面返回时如何导航到特定的中心Windows Phone 8.1 - How can I navigate to a specific hub when I come back from another page Windows Phone 8.1 在Windows Phone 8.1中单击按钮后无法导航到另一页 - Unable to navigate to another page on button click in windows phone 8.1 如何从Windows Phone 8.1中的用户控件导航到另一个页面 - How to navigate to another Page from a User Control in Windows Phone 8.1 无法在Windows Phone 8.1中的FrayxRulez / SwipeListView控件中导航页面 - Unable to navigate the page in FrayxRulez/SwipeListView control in windows phone 8.1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM