C# Class OS2Indberetning.Pages.CouplingPage

Page that is displayed when trying to couple your phone with a Municipality
Inheritance: Xamarin.Forms.ContentPage
Mostrar archivo Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
CouplingPage ( ) : System
SetMunicipality ( Municipality m ) : void

Method is used as a constructor. The real constructor needs to be parameterless

Protected Methods

Method Description
OnBackButtonPressed ( ) : bool

Method that overrides the BackbuttonPressed event. Calls SendBackMessage so that the logic is handles by the viewmodel

OnDisappearing ( ) : void

Private Methods

Method Description
SendBackMessage ( ) : void

Method that sends a Back message

SendCoupleMessage ( ) : void

Method that sends a Couple message

SetContent ( ) : View

Method used to create the layout of the page

Method Details

CouplingPage() public method

public CouplingPage ( ) : System
return System

OnBackButtonPressed() protected method

Method that overrides the BackbuttonPressed event. Calls SendBackMessage so that the logic is handles by the viewmodel
protected OnBackButtonPressed ( ) : bool
return bool

OnDisappearing() protected method

protected OnDisappearing ( ) : void
return void

SetMunicipality() public method

Method is used as a constructor. The real constructor needs to be parameterless
public SetMunicipality ( Municipality m ) : void
m OS2Indberetning.Model.Municipality Municipality that the user is trying to couple with
return void