C# Class WindowsApp.Views.RecogResultPage

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

Public Methods

Method Description
RecogResultPage ( ) : WindowsApp.Common

Constructor

UpdateResult ( ) : Task

update recognition result

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

called when the page is exited

OnNavigatedTo ( NavigationEventArgs e ) : void

called when the page is navigated to

Private Methods

Method Description
App_Resuming ( Object sender, Object e ) : void
CurrentWindow_VisibilityChanged ( object sender, Windows e ) : void

maintains the app's visual state when the screen is locked

HardwareButtons_BackPressed ( object sender, Windows e ) : void

Manages the back pressed event. Overides event in NavigationHelper

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.

addHyperlink ( object sender, TappedRoutedEventArgs e ) : void

makes each result a hyperlink (if possible) when the result is tapped

dotCreater ( ) : String
findColon ( string resultString ) : int
findEnd ( string resultString ) : int
howManyDots ( string resultString ) : String
howManySpaces ( string resultString ) : int
returnHome_Click ( object sender, RoutedEventArgs e ) : void

Returns the app to the OptionsPage. Clears data and dispatches the app to the UI thread to insure app stability

spliceResult ( String resultString ) : void

splices the result string to display

Method Details

OnNavigatedFrom() protected method

called when the page is exited
protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

called when the page is navigated to
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

RecogResultPage() public method

Constructor
public RecogResultPage ( ) : WindowsApp.Common
return WindowsApp.Common

UpdateResult() public method

update recognition result
public UpdateResult ( ) : Task
return Task