C# Class WindowsApp.Views.SelectGateway

Create the page
Inheritance: Windows.UI.Xaml.Controls.Page
Show file Open project: MSRCCS/AppSuite Class Usage Examples

Private Properties

Property Type Description
AddGateway void
NavigationHelper_LoadState void
NavigationHelper_SaveState void
SaveGatewaySelection_Click void
SelectedGateway_Event void
UpdateGatewayInfo Task
UpdateGatewaySelection_Click void
goToHomePage void

Public Methods

Method Description
SelectGateway ( ) : System

Constructor

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Method Description
AddGateway ( String hostname, String info ) : 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.

SaveGatewaySelection_Click ( object sender, RoutedEventArgs e ) : void

Button click to save gateway selection

SelectedGateway_Event ( object sender, SelectionChangedEventArgs e ) : void
UpdateGatewayInfo ( ) : Task
UpdateGatewaySelection_Click ( object sender, RoutedEventArgs e ) : void

Button click to update gateway selection

goToHomePage ( object sender, RoutedEventArgs e ) : void

Navigate back to OptionsPage

Method Details

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

SelectGateway() public method

Constructor
public SelectGateway ( ) : System
return System