![](/img/trans.png)
[英]Access theme resources of another theme using code in Windows Phone Runtime 8.1 Apps
[英]Windows phone 8.1 runtime apps
您好正在用c#和xaml开发wp8.1运行时应用程序,我有很多页面。 因此,在启动应用程序时,我想设置一个随机页面来启动而不是主页。 而且我也想拒绝一页不随机启动
更改根目录/默认页的步骤首先打开App.xaml.cs类,然后将rootFrame名称MainPage更改为框架名称。
if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
{
throw new Exception("Failed to create initial page");
}
它将更改您的根框架。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.