C# Class P02Project.Screens.PoloroidWithText

Interaction logic for PloaroidWithText.xaml
Inheritance: System.Windows.Controls.UserControl
Mostra file Open project: raouldc/OptiDev Class Usage Examples

Public Methods

Method Description
PoloroidWithText ( ) : System
PoloroidWithText ( String title, String resName, string date, String place, String description ) : System

construct a new poloroid with text element

setDate ( string date ) : void

set the date field

setDescription ( String desc ) : void

set the description field

setImage ( String resName ) : void

set the image of the poloroid with text

setPlace ( String place ) : void

set the place field

setTitle ( String title ) : void

set the title field

Private Methods

Method Description
Image_ImageFailed ( object sender, System.Windows.ExceptionRoutedEventArgs e ) : void

what happens if the image fails to load

Method Details

PoloroidWithText() public method

public PoloroidWithText ( ) : System
return System

PoloroidWithText() public method

construct a new poloroid with text element
public PoloroidWithText ( String title, String resName, string date, String place, String description ) : System
title String title of the polaroid
resName String link to image
date string date of event
place String place where event takes place
description String description of the event
return System

setDate() public method

set the date field
public setDate ( string date ) : void
date string
return void

setDescription() public method

set the description field
public setDescription ( String desc ) : void
desc String
return void

setImage() public method

set the image of the poloroid with text
public setImage ( String resName ) : void
resName String
return void

setPlace() public method

set the place field
public setPlace ( String place ) : void
place String
return void

setTitle() public method

set the title field
public setTitle ( String title ) : void
title String
return void