c# - Windows Phone 8.1 Page Navigation -


i'm still new windows phone development. i'm going develop windwos phone 8.1. no idea what's problem page navigation. wrote code this

private void hbgo_click(object sender, routedeventargs e) {     this.frame.navigate(typeof(secondpage)); } 

but shows me error (this page not contain definition "frame" , no extension method "frame" accepting first arguments) put code of bottom same...

frame.navigate(typeof(secondpage)); 

the navigation depends on kind of project:

if windows phone 8.1 silverlight should use navigationservice.navigate() method:

applies to: windows phone 8 , windows phone silverlight 8.1 | windows phone os 7.1

if targeting windows phone runtime should use frame.navigate method():

minimum supported phone windows phone 8.1 [windows runtime apps only]


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -