예제 #1
0
 public ItemPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.SizeChanged += ItemPage_SizeChanged;
 }
 public GroupDetailPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.SizeChanged += (s, e) => UpdateVisualState(e.NewSize.Width);
 }
예제 #3
0
        public AboutPage()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
        }
        public RecipeDetailPage()
        {
            this.InitializeComponent();

            this.NavigationCacheMode = Windows.UI.Xaml.Navigation.NavigationCacheMode.Required;

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
        }
 public GroupedItemsPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.SizeChanged += OnSizeChanged;
     RecipeSearchBox.QuerySubmitted += OnQuerySubmitted;
     RecipeSearchBox.SuggestionsRequested += OnSuggestionsRequested;
 }