C# Class ModernApp4Me.WP8.Converter.M4MResolutionBitmapImageConverter

Enables to choose the best BitmapImage from the assets according to device resolution. This class uses the M4MResolutionImageChooser to take its choice. The parameter should be something like "Path/to/Image/ImageName-Resolution.Extension" where resolution can be HD, WXGA or WVGA.
Inheritance: IValueConverter
Mostra file Open project: smartnsoft/ModernApp4Me

Public Methods

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

Method Details

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