更新时间:2022-11-04 12:38:22
您可以从应用的 PhoneApplicationFrame
获取它.由于每个 Windows Phone 应用程序都有一个框架,因此可以从应用程序的任何位置访问它.
You can get it from the app's PhoneApplicationFrame
. It will be accessible from anywhere in the app since every Windows Phone app has a Frame.
((PhoneApplicationFrame)Application.Current.RootVisual).Navigate(...);