C# Class OS2Indberetning.Pages.PurposePage

Page that makes it possible for the user to add new purposes to a _list and select a specific purpose
Inheritance: Xamarin.Forms.ContentPage
Datei anzeigen Open project: os2indberetning/OS2_Windows_Phone Class Usage Examples

Public Properties

Property Type Description
Selected OS2WP8._0.Model.TemplateModels.GenericCellModel

Public Methods

Method Description
PurposePage ( ) : System

Constructor that handles initialization of the page

SetContent ( ) : void

Method that creates the page layout and sets the page content, to that layout

Protected Methods

Method Description
OnBackButtonPressed ( ) : bool

Override of the OnBackButtonPressed event. Calls SendBackMessage so the viewmodel handles the back event

Private Methods

Method Description
SendAddMessage ( ) : void

Method that handles sending an Add message

SendBackMessage ( ) : void

Method that handles sending an Back message

SendDeleteMessage ( ) : void

Method that handles sending an Delete message

SendSelectedMessage ( ) : void

Method that handles sending an Selected message

Method Details

OnBackButtonPressed() protected method

Override of the OnBackButtonPressed event. Calls SendBackMessage so the viewmodel handles the back event
protected OnBackButtonPressed ( ) : bool
return bool

PurposePage() public method

Constructor that handles initialization of the page
public PurposePage ( ) : System
return System

SetContent() public method

Method that creates the page layout and sets the page content, to that layout
public SetContent ( ) : void
return void

Property Details

Selected public_oe property

public GenericCellModel,OS2WP8._0.Model.TemplateModels Selected
return OS2WP8._0.Model.TemplateModels.GenericCellModel