C# Class AppStore.Templates.SpellingsPage

This page deals with the Spellings Puzzle App-Template.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: BuildmLearn/BuildmLearn-Store

Méthodes publiques

Méthode Description
SpellingsPage ( ) : AppStore.Common

Public Construtor to the SpellingsPage. Populates the views pertaining to this page.

Méthodes protégées

Méthode 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

Méthode Description
Connect ( int connectionId, object target ) : void
InitializeComponent ( ) : void
Listen_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Listen button is tapped/pressed. It builds the Text-To-Speech api, which will spell the word.

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.

Next_Click ( object sender, RoutedEventArgs e ) : void

It populates the next question into the current view.

Spell_Click ( object sender, RoutedEventArgs e ) : void

Executed when the user wants to spell the word after listening to it.

Method Details

OnNavigatedFrom() protected méthode

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 Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
Résultat void

OnNavigatedTo() protected méthode

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.
Résultat void

SpellingsPage() public méthode

Public Construtor to the SpellingsPage. Populates the views pertaining to this page.
public SpellingsPage ( ) : AppStore.Common
Résultat AppStore.Common