windows store apps - Navigation to other page using User Control -


how can navigate other page on click on button in user control in windows store app? tried making new frame object , calling navigate method, no luck till yet. thanks.

the frame contentcontrol hosts pages. if want navigate , forth between pages need use single frame control. default 1 created in app class in default visual studio templates. can save instance reference of frame having static property on app class like: public static frame rootframe { get; private set; } , set constructed - app.rootframe = new frame(). can navigate calling app.rootframe.navigate().


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -