C# Class AppStore.Templates.WordInfoPage

The page deals with shwoing the word info based on the word which comes up while running the Spellings Puzzle app-template.
Inheritance: Windows.UI.Xaml.Controls.Page
Show file Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
WordInfoPage ( ) : AppStore.Common

Public Construtor to the WordInfoPage. 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
Back_Click ( object sender, RoutedEventArgs e ) : void

The app navigates to the previous page which is the word page of the Spellings App-Template.

Connect ( int connectionId, object target ) : void
Enter_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Enter button is tapped/pressed. It checks the correct word with the spelling entered by the user.

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.

Next_Click ( object sender, RoutedEventArgs e ) : void

It populates the next word question in the current view.

Word_TextChanged ( object sender, TextChangedEventArgs e ) : void

Executed when the text in the textbox is changed by the user.

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

WordInfoPage() public method

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