C# Class AthensTransit_Hackathon_WP_8._1.MapBus

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Datei anzeigen Open project: crowdhackathon-transport/AthensTransit

Public Methods

Method Description
MapBus ( ) : 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
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.

searchImage_Tapped ( object sender, TappedRoutedEventArgs e ) : void

Method Details

MapBus() public method

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

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.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 Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
return void