C# Class WindowsApp.Views.URLPage

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

Private Properties

Property Type Description
NavigationHelper_LoadState void
NavigationHelper_SaveState void
getImageFromURL Task
getImageFromURL_click void
showURLImage void

Public Methods

Method Description
URLPage ( ) : WindowsApp.Common

Constructor

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

called when the app leaves the page

OnNavigatedTo ( NavigationEventArgs e ) : void

called when the page is navigated to

Private Methods

Method Description
NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void
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.

getImageFromURL ( ) : Task
getImageFromURL_click ( object sender, RoutedEventArgs e ) : void

Gets the image from the uri and sends the image through processing

showURLImage ( object sender, TextControlPasteEventArgs e ) : void

Displays a preview of the image before the image is sent through processing

Method Details

OnNavigatedFrom() protected method

called when the app leaves the page
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

URLPage() public method

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