C# Class 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.
Inheritance: System.Windows.Markup.MarkupExtension, IValueConverter
Exibir arquivo Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object
ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
ProvideValue ( IServiceProvider serviceProvider ) : object

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object

ProvideValue() public method

public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
return object