C# 클래스 AppStore.Templates.QuizPage

상속: global::Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: BuildmLearn/BuildmLearn-Store

공개 메소드들

메소드 설명
QuizPage ( ) : AppStore.Common

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

populateQuestion ( int index ) : void

It populates the question with the index passed into the current view.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

Next_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Next Button is tapped. It populates the next question in the current view.

Options_Checked ( object sender, RoutedEventArgs e ) : void

Executed when any of the options are checked.

메소드 상세

OnNavigatedFrom() 보호된 메소드

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.
리턴 void

OnNavigatedTo() 보호된 메소드

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.
리턴 void

QuizPage() 공개 메소드

Public Construtor to the QuizPage. Populates the views pertaining to this page.
public QuizPage ( ) : AppStore.Common
리턴 AppStore.Common

populateQuestion() 공개 메소드

It populates the question with the index passed into the current view.
public populateQuestion ( int index ) : void
index int The index of the question which will be populated in the current view.
리턴 void