C# Класс P02Project.Screens.TopLevelPage

Interaction logic for TopLevelPage.xaml
Наследование: Screen
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
components List

Открытые методы

Метод Описание
AnimateIn ( ) : void

inherted implementation

AnimateOut ( ) : void

inherted implementation

BackButton_Click ( object sender, RoutedEventArgs e ) : void

This method called when the Back button has been clicked

HomeButton_Click ( ) : void

called when home button clicked

TopLevelPage ( TopWindow parentWindow, String title ) : System

Constructor

getSubtitle ( ) : String

get the subtitle of the screen

setButtons ( String bNames ) : void

set the right buttons

setContent ( UIElement control ) : void

Set the content part of the grid

setSubtitle ( String sub ) : void

set the subtitle of the screen

setTitleColour ( Color col ) : void

set the color of the title of the screen

Описание методов

AnimateIn() публичный Метод

inherted implementation
public AnimateIn ( ) : void
Результат void

AnimateOut() публичный Метод

inherted implementation
public AnimateOut ( ) : void
Результат void

BackButton_Click() публичный Метод

This method called when the Back button has been clicked
public BackButton_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Результат void

HomeButton_Click() публичный Метод

called when home button clicked
public HomeButton_Click ( ) : void
Результат void

TopLevelPage() публичный Метод

Constructor
public TopLevelPage ( TopWindow parentWindow, String title ) : System
parentWindow TopWindow /// This accesses the window that contains the stack. /// The buttons need to go through the stack ///
title String Set title bar
Результат System

getSubtitle() публичный Метод

get the subtitle of the screen
public getSubtitle ( ) : String
Результат String

setButtons() публичный Метод

set the right buttons
public setButtons ( String bNames ) : void
bNames String /// Array of buttons to go on the right side. /// This array should be of size 7 at all times ///
Результат void

setContent() публичный Метод

Set the content part of the grid
public setContent ( UIElement control ) : void
control UIElement Sets the inner child contents of the page
Результат void

setSubtitle() публичный Метод

set the subtitle of the screen
public setSubtitle ( String sub ) : void
sub String
Результат void

setTitleColour() публичный Метод

set the color of the title of the screen
public setTitleColour ( Color col ) : void
col Color
Результат void

Описание свойств

components защищенное свойство

protected List components
Результат List