C# Class WindowsApp.Views.RecogResultPage

Creates the page
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: MSRCCS/AppSuite Class Usage Examples

Méthodes publiques

Méthode Description
RecogResultPage ( ) : WindowsApp.Common

Constructor

UpdateResult ( ) : Task

update recognition result

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

called when the page is exited

OnNavigatedTo ( NavigationEventArgs e ) : void

called when the page is navigated to

Private Methods

Méthode 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 méthode

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

OnNavigatedTo() protected méthode

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

RecogResultPage() public méthode

Constructor
public RecogResultPage ( ) : WindowsApp.Common
Résultat WindowsApp.Common

UpdateResult() public méthode

update recognition result
public UpdateResult ( ) : Task
Résultat Task