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

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

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

Метод Описание
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

Приватные методы

Метод Описание
Image_ImageFailed ( object sender, System.Windows.ExceptionRoutedEventArgs e ) : void

what happens if the image fails to load

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

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

public PoloroidWithText ( ) : System
Результат System

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

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
Результат System

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

set the date field
public setDate ( string date ) : void
date string
Результат void

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

set the description field
public setDescription ( String desc ) : void
desc String
Результат void

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

set the image of the poloroid with text
public setImage ( String resName ) : void
resName String
Результат void

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

set the place field
public setPlace ( String place ) : void
place String
Результат void

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

set the title field
public setTitle ( String title ) : void
title String
Результат void