C# Class AthensTransit_Hackathon.TouristMode

Inheritance: global::Windows.UI.Xaml.Controls.Page, global::Windows.UI.Xaml.Markup.IComponentConnector
ファイルを表示 Open project: crowdhackathon-transport/AthensTransit

Public Methods

Method Description
TouristMode ( ) : AthensTransit_Hackathon.Common

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
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
LoadAirportLinesToPivot ( ) : 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.

Method Details

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e NavigationEventArgs
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

TouristMode() public method

public TouristMode ( ) : AthensTransit_Hackathon.Common
return AthensTransit_Hackathon.Common