C# Класс OS2Indberetning.MainPage

Page where drive specific selections are made before starting the drive.
Наследование: Xamarin.Forms.ContentPage
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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