C# 클래스 OS2Indberetning.MainPage

Page where drive specific selections are made before starting the drive.
상속: Xamarin.Forms.ContentPage
파일 보기 프로젝트 열기: os2indberetning/OS2_Windows_Phone

공개 프로퍼티들

프로퍼티 타입 설명
List ListView

공개 메소드들

메소드 설명
InitializeTheme ( ) : void

Method that tries to initialization the theme

MainPage ( ) : System

Constructor that handles initialization of the page

SetContent ( ) : View

Method that creates the page content

보호된 메소드들

메소드 설명
OnAppearing ( ) : void

Override of the OnAppearing event. If an item is Selected in the _list it is reset. Sets the content of the page here, because it might not have been properly initialized with colors if the user wasnt coupled If its the first time its called, it will send a ShowCross message to the viewmodel. Also sends an Update message to the viewmodel

OnBackButtonPressed ( ) : bool

Override of the OnBackButtonPressed event

비공개 메소드들

메소드 설명
CheckStack ( ) : StackLayout

Method that creates a stacklayout with the checkhome checkbox

ClosePopup ( ) : void

Method that handles closing the popup

CreatePopup ( string Message ) : StackLayout

Method that creates a stacklayout of a popup with a specific message

LogoutPopup ( ) : StackLayout

Method that creates a stacklayout of a popup with a yes/no before logging out

SendLogoutMessage ( ) : void

Method that handles sending an Refresh message

SendSelectedMessage ( ) : void

Method that handles sending an Selected message

SendViewStoredMessage ( ) : void

Method that handles sending an ViewStored message

ShowLogoutPopup ( ) : void

Method that handles displaying of an alert popup for logout

StartDrive ( ) : void

Method that handles displaying of an alert popup with the correct message to notify the user that something is missing

ToggleHomeProperty ( ) : void

Method that handles sending an ToggleHome message

메소드 상세

InitializeTheme() 공개 메소드

Method that tries to initialization the theme
public InitializeTheme ( ) : void
리턴 void

MainPage() 공개 메소드

Constructor that handles initialization of the page
public MainPage ( ) : System
리턴 System

OnAppearing() 보호된 메소드

Override of the OnAppearing event. If an item is Selected in the _list it is reset. Sets the content of the page here, because it might not have been properly initialized with colors if the user wasnt coupled If its the first time its called, it will send a ShowCross message to the viewmodel. Also sends an Update message to the viewmodel
protected OnAppearing ( ) : void
리턴 void

OnBackButtonPressed() 보호된 메소드

Override of the OnBackButtonPressed event
protected OnBackButtonPressed ( ) : bool
리턴 bool

SetContent() 공개 메소드

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

프로퍼티 상세

List 공개적으로 프로퍼티

public ListView List
리턴 ListView