C# Класс nl.tno.cs.presenter.ConvertFileToFreezableImage

Converts a file path to a freezable BitmapImage. http://stackoverflow.com/questions/799911/in-what-scenarios-does-freezing-wpf-objects-benefit-performance-greatly
Наследование: IValueConverter
Показать файл Открыть проект

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

Метод Описание
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

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

Метод Описание
CreateFreezableBitmapImage ( string fileName, int pixelHeight ) : BitmapImage

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

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

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object

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

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object