C# Class P02Project.Screens.TopLevelPage

Interaction logic for TopLevelPage.xaml
Inheritance: Screen
ファイルを表示 Open project: raouldc/OptiDev Class Usage Examples

Protected Properties

Property Type Description
components List

Public Methods

Method Description
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

Method Details

AnimateIn() public method

inherted implementation
public AnimateIn ( ) : void
return void

AnimateOut() public method

inherted implementation
public AnimateOut ( ) : void
return void

BackButton_Click() public method

This method called when the Back button has been clicked
public BackButton_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

HomeButton_Click() public method

called when home button clicked
public HomeButton_Click ( ) : void
return void

TopLevelPage() public method

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
return System

getSubtitle() public method

get the subtitle of the screen
public getSubtitle ( ) : String
return String

setButtons() public method

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 ///
return void

setContent() public method

Set the content part of the grid
public setContent ( UIElement control ) : void
control UIElement Sets the inner child contents of the page
return void

setSubtitle() public method

set the subtitle of the screen
public setSubtitle ( String sub ) : void
sub String
return void

setTitleColour() public method

set the color of the title of the screen
public setTitleColour ( Color col ) : void
col Color
return void

Property Details

components protected_oe property

protected List components
return List