C# Класс WpfConverters.ConvertBitmapFrame

This converter facilitates a couple of requirements around images. Firstly, it automatically disposes of image streams as soon as images are loaded, thus avoiding file access exceptions when attempting to delete images. Secondly, it allows images to be decoded to specific widths and / or heights, thus allowing memory to be saved where images will be scaled down from their original size.
Наследование: System.Windows.Markup.MarkupExtension, IValueConverter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Convert ( object value, Type targetType, object parameter, System culture ) : object
ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
ProvideValue ( IServiceProvider serviceProvider ) : object

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

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

public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
Результат object

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

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
Результат object

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

public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
Результат object