1
为 'RootVisual' 的定义在此代码 “RootVisual” 在WP8.1不包含的Windows Phone 8.1
(Application.Current.RootVisual as
PhoneApplicationFrame).Navigate(new Uri("/FeedBackMessageBox.xaml",
UriKind.Relative));
为 'RootVisual' 的定义在此代码 “RootVisual” 在WP8.1不包含的Windows Phone 8.1
(Application.Current.RootVisual as
PhoneApplicationFrame).Navigate(new Uri("/FeedBackMessageBox.xaml",
UriKind.Relative));
Application.RootVisual是不存在只对Silverlight应用程序。对于Windows Phone的应用程序运行时使用Windows.UI.Xaml.Window.Content:
(Windows.UI.Xaml.Window.Current.Content as Frame).Navigate(typeof(FeedBackMessageBox),args);
在Windows运行的应用程序的导航更多详情,请参见Quickstart: Navigating between pages (XAML)。
感谢它的工作 – 2015-03-03 07:11:53