C# Class AppStore.AppsPage

This activity deals with the apps shown when "more" button on the Home Page is pressed.
Inheritance: Windows.UI.Xaml.Controls.Page
显示文件 Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
AppsPage ( ) : AppStore.Common

Public constructor to the Apps Page.

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.

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.

GridFeaturedApps_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating apps in the My-Apps section.

GridFeaturedApps_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

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

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 installed app.

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

AppsPage() public method

Public constructor to the Apps Page.
public AppsPage ( ) : 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