简体   繁体   中英

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? Thanks!

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

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

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

Frame.Navigate(typeof(TestPage));

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