C# Class WpfConverters.NullImageConverter

Simple converter that returns unset value in case an image's source isn't available. Although you do not need to do this, it does cause a performance hit.
Inheritance: System.Windows.Markup.MarkupExtension, IValueConverter
ファイルを表示 Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ProvideValue ( IServiceProvider serviceProvider ) : 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

ProvideValue() public method

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