C# Class OS2Indberetning.UploadingPage

Page that is displayed when trying to upload a drivereport If upload fails, the user can choose to retry or store the report
Inheritance: Xamarin.Forms.ContentPage
Mostra file Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
SetContent ( ) : View

Method that creates the page content

UploadingPage ( ) : System.Collections.Generic

Constructor that handles initialization of the page

Protected Methods

Method Description
OnBackButtonPressed ( ) : bool

Method that overrides the BackbuttonPressed event. Makes backbutton press invalid by doing nothing and returning true

Private Methods

Method Description
ErrorStack ( ) : StackLayout

Method that creates the error stack The stacks visibility is binded to the viewmodel

SendStoreMessage ( ) : void

Method that handles sending a Store message

SendUploadMessage ( ) : void

Method that handles sending a Upload message

Method Details

OnBackButtonPressed() protected method

Method that overrides the BackbuttonPressed event. Makes backbutton press invalid by doing nothing and returning true
protected OnBackButtonPressed ( ) : bool
return bool

SetContent() public method

Method that creates the page content
public SetContent ( ) : View
return Xamarin.Forms.View

UploadingPage() public method

Constructor that handles initialization of the page
public UploadingPage ( ) : System.Collections.Generic
return System.Collections.Generic