C# Class OS2Indberetning.FinishDrivePage

Page that is shown after GPS tracking is done
Inheritance: Xamarin.Forms.ContentPage
Afficher le fichier Open project: os2indberetning/OS2_Windows_Phone

Méthodes publiques

Свойство Type Description
List ListView
NewKm string
PopUpLayout XLabs.Forms.Controls.PopupLayout

Méthodes publiques

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

Méthodes protégées

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

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

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

FinishDrivePage() public méthode

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

HomeToBorderDistancePopup() public méthode

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

OnAppearing() protected méthode

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
Résultat void

OnBackButtonPressed() protected méthode

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
Résultat bool

SetContent() public méthode

Method that creates the view content
public SetContent ( ) : View
Résultat Xamarin.Forms.View

Property Details

List public_oe property

public ListView List
Résultat ListView

NewKm public_oe property

public string NewKm
Résultat string

PopUpLayout public_oe property

public PopupLayout,XLabs.Forms.Controls PopUpLayout
Résultat XLabs.Forms.Controls.PopupLayout