C# Class FirstFloor.ModernUI.Windows.Converters.UriToCachedImageConverter

Inheritance: IValueConverter
Exibir arquivo Open project: gro-ove/actools

Public Methods

Method Description
Convert ( object value, bool considerOneTrueDpi = false, int decodeWidth = -1, int decodeHeight = -1 ) : System.Windows.Media.Imaging.BitmapSource
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBitmapToOneTrueDpi ( BitmapImage bitmapImage ) : System.Windows.Media.Imaging.BitmapSource

Method Details

Convert() public static method

public static Convert ( object value, bool considerOneTrueDpi = false, int decodeWidth = -1, int decodeHeight = -1 ) : System.Windows.Media.Imaging.BitmapSource
value object
considerOneTrueDpi bool
decodeWidth int
decodeHeight int
return System.Windows.Media.Imaging.BitmapSource

Convert() public method

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

ConvertBack() public method

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

ConvertBitmapToOneTrueDpi() public static method

public static ConvertBitmapToOneTrueDpi ( BitmapImage bitmapImage ) : System.Windows.Media.Imaging.BitmapSource
bitmapImage System.Windows.Media.Imaging.BitmapImage
return System.Windows.Media.Imaging.BitmapSource