public NavigationFriendlyPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState; //Done
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState; //Done
     this.NavigationCacheMode = NavigationCacheMode.Required;
 }
 public NavigationFriendlyPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     this.NavigationCacheMode = NavigationCacheMode.Disabled;
 }
Пример #3
0
 public ApplicationPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState; //Done
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState; //Done
     this.NavigationCacheMode = Windows.UI.Xaml.Navigation.NavigationCacheMode.Disabled;
     Cache = new MemoryCache();
     TitleTemplateSelector = new TitleOnlyTitleBarTemplateSelector();
 }