public DebtPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public PrivatePolicyFlyout() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public MainPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; // Added to listen for events when the window size is updated. windowBounds = Window.Current.Bounds; Window.Current.SizeChanged += OnWindowSizeChanged; // Add Setting Panel SettingsPane.GetForCurrentView().CommandsRequested += App_CommandsRequested; }