public DetailPage() { this.InitializeComponent (); this.navigationHelper = new NavigationHelper (this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public SplitPage() { this.InitializeComponent (); // Navigation Helper をセットアップします this.navigationHelper = new NavigationHelper (this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; // ページに一度に 1 つのペインのみ表示できるようにする論理ページ // ナビゲーション コンポーネントをセットアップします。 this.navigationHelper.GoBackCommand = new CreateABlogReader.Common.RelayCommand (() => this.GoBack (), () => this.CanGoBack ()); this.itemListView.SelectionChanged += itemListView_SelectionChanged; // 表示するペインの数を 2 つから 1 つに変更する // ウィンドウ サイズの変更の待機を開始します Window.Current.SizeChanged += Window_SizeChanged; this.InvalidateVisualState (); }
public ItemsPage () { this.InitializeComponent (); this.navigationHelper = new NavigationHelper (this); this.navigationHelper.LoadState += navigationHelper_LoadState; }