C# Class AppStore.CategoriesPage

Inheritance: global::Windows.UI.Xaml.Controls.Page
Show file Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
CategoriesPage ( ) : AppStore.Common

Public constructor to the Categories Page.

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

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.

Private Methods

Method Description
About_Click ( object sender, RoutedEventArgs e ) : void

Executed when the About Button is tapped from the Application bar. The app navigates to the About page.

Connect ( int connectionId, object target ) : void
Feedback_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Feedback Button is tapped from the Application bar. The app prepares the content and uses the default mail apps to give feedback.

GridCategories_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating categories in this page.

GridCategories_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user taps/selects a category from the Categoires Page. The app navigates to its category-specific page.

Home_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Home Button is tapped from the Application bar. The app navigates to the Home page.

InitializeComponent ( ) : void
MyApps_Click ( object sender, RoutedEventArgs e ) : void

Executed when the My-Apps Button is tapped from the Application bar. The app navigates to the My-Apps page.

NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

NavigationHelper_SaveState ( object sender, SaveStateEventArgs e ) : void

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.

Search_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Search Button is tapped from the Application bar. The app navigates to the Search Results page.

Settings_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Settings Button is tapped from the Application bar. The app navigates to the Settings page.

Method Details

CategoriesPage() public method

Public constructor to the Categories Page.
public CategoriesPage ( ) : AppStore.Common
return AppStore.Common

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e NavigationEventArgs
return void

OnNavigatedTo() protected method

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 NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
return void