C# Class AppStore.MainPage

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

Public Methods

Method Description
MainPage ( ) : AppStore.Common

Public Contructor to MainPage

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.

Categories_Click ( object sender, RoutedEventArgs e ) : void

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

Executed when the Categories Button is tapped from the Application bar. The app navigates to the Categories 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.

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.

GridFeaturedApps_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating apps in the Featured-Apps section.

GridFeaturedApps_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user taps/selects an app from the Featured-Apps section.

GridFeaturedCategories_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating categories in the Featured-Categories section.

GridFeaturedCategories_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user taps/selects a category from the Featured-Categories section.

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.

MoreApps_Click ( object sender, RoutedEventArgs e ) : void

Executed when the "more" button is tapped in the Featured Apps section. It navigates to the AppsPage, which lists all the apps.

MoreCategories_Click ( object sender, RoutedEventArgs e ) : void

Executed when the "more" button is tapped in the Featured Categories section. It navigates to the Categories Page, which lists all the categories.

MyApps_Click ( object sender, RoutedEventArgs e ) : void

Executed when the user taps/selects an app from the search results.

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 Featured-Apps section.

StackPanel_Holding ( object sender, HoldingRoutedEventArgs e ) : void

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

Method Details

MainPage() public method

Public Contructor to MainPage
public MainPage ( ) : 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 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 NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
return void