AppStore.SearchPage.OnNavigatedTo C# (CSharp) Метод

OnNavigatedTo() защищенный Метод

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
Результат void
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (AppList.getMyAppList().myappList.Count > 0)
                btnMyApps.Visibility = Visibility.Visible;
            else btnMyApps.Visibility = Visibility.Collapsed;
            GridFeaturedApps.ItemsSource = AppList.getAppList().appList;
            this.navigationHelper.OnNavigatedTo(e);
        }
        /// <summary>