C# Class P02Project.Screens.PoloroidWithText

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

Méthodes publiques

Méthode 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

Méthode Description
Image_ImageFailed ( object sender, System.Windows.ExceptionRoutedEventArgs e ) : void

what happens if the image fails to load

Method Details

PoloroidWithText() public méthode

public PoloroidWithText ( ) : System
Résultat System

PoloroidWithText() public méthode

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
Résultat System

setDate() public méthode

set the date field
public setDate ( string date ) : void
date string
Résultat void

setDescription() public méthode

set the description field
public setDescription ( String desc ) : void
desc String
Résultat void

setImage() public méthode

set the image of the poloroid with text
public setImage ( String resName ) : void
resName String
Résultat void

setPlace() public méthode

set the place field
public setPlace ( String place ) : void
place String
Résultat void

setTitle() public méthode

set the title field
public setTitle ( String title ) : void
title String
Résultat void