C# Class AppStore.AppDetailsPage

This class deals with the App-Details page, which is shown when the user taps on any app cards displayed on various pages.
Inheritance: Windows.UI.Xaml.Controls.Page
Show file Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
AppDetailsPage ( ) : AppStore.Common

Public Constructor to the Details 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.

Browser_Click ( object sender, RoutedEventArgs e ) : void

It opens the Reviews section of the app in an external browser.

Button_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Close Button is tapped in the full screen view of the screenshots. It closes the full-screen view.

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.

GridScreenshots_ContainerContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void
GridScreenshots_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user taps/selects a screenshot from the App-Details Page. The screenshots zoom in to the fullscreen view.

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.

HyperlinkButton_Click ( object sender, RoutedEventArgs e ) : void

It opens the Reviews section of the app in an external browser.

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.

ShowImages ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating images(screenshots) in the App-Details Page.

btnAppInstall_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Install Button is tapped from the App-Details section. It installs the app.

btnAppShare_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Share Button is tapped from the App-Details section. The app prepares content form the app to be shared using default installed apps on the phone.

detailsShowMore_Click ( object sender, RoutedEventArgs e ) : void

Executed when the more button is tapped in the details section. It toggles between showing complete and less details of the app.

getHtmlComment ( ) : string

Builds the html content which has to loaded into the WebView for Reviews Section.

webAppReviews_FrameDOMContentLoaded ( WebView sender, WebViewDOMContentLoadedEventArgs args ) : void

This method is executed when the contents of the Reviews section is loaded.

Method Details

AppDetailsPage() public method

Public Constructor to the Details Page.
public AppDetailsPage ( ) : 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