C# Class AppStore.CategoryPage

This page is the Category Page, which the app navigates to when the user selects a particular category.
Inheritance: Windows.UI.Xaml.Controls.Page
Show file Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
CategoryPage ( ) : AppStore.Common

Public Constructor of the CategoryPage

Protected Methods

Method Description
OnNavigatedFrom ( 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 SaveState method in addition to page state preserved during an earlier session.

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.

GridApps_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating apps which belongs to a particular category.

GridApps_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user taps/selects an app from the Category Page. The app navigates to the Details page of the app.

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
InstallButton_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Install button is tapped from the Context menu which appears when the app is long tapped. It installs the app from the BuildmLearn Store.

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.

ShareButton_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Share Button is tapped from the Application bar. The app prepares content form the app to be shared using default installed apps on the phone.

ShowImage ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating images(app icons) in the AppsPage.

StackPanel_Holding ( object sender, HoldingRoutedEventArgs e ) : void

Executed when the app is long tapped. Context menu appears now.

Method Details

CategoryPage() public method

Public Constructor of the CategoryPage
public CategoryPage ( ) : AppStore.Common
return AppStore.Common

OnNavigatedFrom() 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 SaveState method in addition to page state preserved during an earlier session.

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
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 Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
return void