public AddMenuCardPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public BasicPage1() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public SplitPage1() { this.InitializeComponent(); // 设置导航帮助程序 this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; // 设置逻辑页面导航组件,使 // 页面可一次仅显示一个窗格。 this.navigationHelper.GoBackCommand = new StoreCozy.Common.RelayCommand(() => this.GoBack(), () => this.CanGoBack()); this.itemListView.SelectionChanged += itemListView_SelectionChanged; // 开始侦听 Window 大小更改 // 以从显示两个窗格变为显示一个窗格 Window.Current.SizeChanged += Window_SizeChanged; this.InvalidateVisualState(); }
public GroupedItemsPage1() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }
public MainPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }