C# Class AppStore.Templates.ScorePage

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

Public Methods

Method Description
ScorePage ( ) : AppStore.Common

Public Construtor to the ScorePage. Populates the views pertaining to this 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 LoadState 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
Connect ( int connectionId, object target ) : void
InitializeComponent ( ) : void
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.

Quit_Click ( object sender, RoutedEventArgs e ) : void

It quits the current app and navigates back to its details page.

Restart_Click ( object sender, RoutedEventArgs e ) : void

It restarts the current quiz or spellings puzzle app.

Method Details

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 LoadState 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

ScorePage() public method

Public Construtor to the ScorePage. Populates the views pertaining to this page.
public ScorePage ( ) : AppStore.Common
return AppStore.Common