开发者

WP7 - Dynamically change the startup page depending on setting

Is it possible to change the startup page based on a setting in a windows phone 7 application?

For example开发者_开发百科, an app with 2 pages. Lets say Movies, and News. I'd like the user to be able to select which of the 2 pages they want to be shown first when launching the app.

Right now I'm trying to solve the problem by navigating to the correct page on startup but this causes funky back button behavior which is very bad.

Any thoughts?


Yes, you can redirect page navigations without impacting the back stack. Peter outlines two approaches here.

Redirecting an initial navigation - Peter Torr's Blog

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜