How to reload a Windows phone application page without creating a new copy in the memory?

后端 未结 2 1646
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-23 11:04

In my Windows phone application, I\'m trying to reload the application page by using the following code:

NavigationService.Navigate(new Uri(string.Format(\"/Page         


        
2条回答
  •  遇见更好的自我
    2021-01-23 12:04

    try this code

    var Frame = Window.Current.Content as Frame;
    Frame.Navigate(Frame.Content.GetType());
    Frame.GoBack();
    

    Source enter link description here

提交回复
热议问题