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
Post a Comment