Windows phone 7 在WP7中,设置App.Current.RootVisual会将部分UI隐藏在系统托盘后面
在我的SilverLight应用程序中,在显示加载屏幕后,我使用Windows phone 7 在WP7中,设置App.Current.RootVisual会将部分UI隐藏在系统托盘后面,windows-phone-7,Windows Phone 7,在我的SilverLight应用程序中,在显示加载屏幕后,我使用 App.Current.RootVisual = new MyPage(); 新页面的部分UI隐藏在系统托盘下 我怎样才能防止这种情况 PS:如果我使用 Uri destination = new Uri("/MyPage.xaml", UriKind.Relative); ((App)Application.Current).RootFrame.Navigate(destination); 但是,用户可以通过按后退按钮返回
App.Current.RootVisual = new MyPage();
新页面的部分UI隐藏在系统托盘下
我怎样才能防止这种情况
PS:如果我使用
Uri destination = new Uri("/MyPage.xaml", UriKind.Relative);
((App)Application.Current).RootFrame.Navigate(destination);
但是,用户可以通过按后退按钮返回到加载屏幕。“但是,用户可以通过按后退按钮返回到加载屏幕。”:您可以使用
NavigationService.RemoveBackEntry()从后台删除加载屏幕代码>@KooKiz:非常感谢!它实际上解决了我的问题,尽管我仍然有兴趣知道它从哪里来。首先,RootVisual
应该是PhoneApplicationFrame
,而不是PhoneApplicationPage