C# Class OS2Indberetning.FinishDrivePage

Page that is shown after GPS tracking is done
Inheritance: Xamarin.Forms.ContentPage
Mostra file Open project: os2indberetning/OS2_Windows_Phone

Public Properties

Property Type Description
List ListView
NewKm string
PopUpLayout XLabs.Forms.Controls.PopupLayout

Public Methods

Method Description
EditKmPopup ( ) : StackLayout

Creates a view for the edit km popup

FinishDrivePage ( ) : System.Collections.Generic

Constructor that handles initialization of the page

HomeToBorderDistancePopup ( ) : StackLayout

Creates a view for the HomeToBorderDistance popup

SetContent ( ) : View

Method that creates the view content

Protected Methods

Method Description
OnAppearing ( ) : void

Method that overrides the OnAppearing event. Resets the _list selection if any, and sends an Update message to the viewmodel to get the content updated.

OnBackButtonPressed ( ) : bool

Method that overrides the BackbuttonPressed event. Opens the same popup as if the user where to delete the drive because there is no option to return to the gps view from here

Private Methods

Method Description
ClosePopup ( ) : void

Closes the popup

CreateDeletePopup ( ) : StackLayout

Creates a view for the delete report popup

EndCheck ( ) : StackLayout
FourKmRuleCheck ( ) : StackLayout

Method that creates the stacklayout for the Checkboxes

OpenPopup ( ) : void

Opens the delete report popup

SendDeleteMessage ( ) : void

Sends Delete message throught the MessagingCenter

SendEndHomeMessage ( ) : void

Sends EndHome message throught the MessagingCenter

SendFourKmRuleMessage ( ) : void

Sends 4-km Rule message throught the MessagingCenter

SendHomeToBorderDistanceMessage ( ) : void

Sends HomeToBorderDistance message throught the MessagingCenter

SendNewKmMessage ( ) : void

Sends NewKm message throught the MessagingCenter

SendOrganizationMessage ( ) : void

Sends Organization message throught the MessagingCenter

SendPurposeMessage ( ) : void

Sends Purpose message throught the MessagingCenter

SendRateMessage ( ) : void

Sends Rate message throught the MessagingCenter

SendRemarkMessage ( ) : void

Sends Remark message throught the MessagingCenter

SendSelectHomeToBorderDistanceMessage ( ) : void

Sends Select HomeToBorderDistance message throught the MessagingCenter

SendSelectNewKmMessage ( ) : void

Sends Select NewKm message throught the MessagingCenter

SendStartHomeMessage ( ) : void

Sends StartHome message throught the MessagingCenter

SendUploadMessage ( ) : void

Sends Upload message throught the MessagingCenter

StartCheck ( ) : StackLayout

Method that creates the stacklayout for StartCheck

Method Details

EditKmPopup() public method

Creates a view for the edit km popup
public EditKmPopup ( ) : StackLayout
return Xamarin.Forms.StackLayout

FinishDrivePage() public method

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

HomeToBorderDistancePopup() public method

Creates a view for the HomeToBorderDistance popup
public HomeToBorderDistancePopup ( ) : StackLayout
return Xamarin.Forms.StackLayout

OnAppearing() protected method

Method that overrides the OnAppearing event. Resets the _list selection if any, and sends an Update message to the viewmodel to get the content updated.
protected OnAppearing ( ) : void
return void

OnBackButtonPressed() protected method

Method that overrides the BackbuttonPressed event. Opens the same popup as if the user where to delete the drive because there is no option to return to the gps view from here
protected OnBackButtonPressed ( ) : bool
return bool

SetContent() public method

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

Property Details

List public_oe property

public ListView List
return ListView

NewKm public_oe property

public string NewKm
return string

PopUpLayout public_oe property

public PopupLayout,XLabs.Forms.Controls PopUpLayout
return XLabs.Forms.Controls.PopupLayout