C# Class Microsoft.Silverlight.Testing.Client.InvertValueConverter

A specialized bool inversion selector.
Inheritance: IValueConverter
Show file Open project: garyjohnson/wpnest

Public Methods

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

Convert a value to its opposite. Defines that null value will also return false.

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

No 2-way databinding support.

InvertValueConverter ( ) : System

Initializes a new instance of the InvertValueConverter class.

Method Details

Convert() public method

Convert a value to its opposite. Defines that null value will also return false.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter value.
culture System.Globalization.CultureInfo The culture parameter.
return object

ConvertBack() public method

No 2-way databinding support.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter value.
culture System.Globalization.CultureInfo The culture parameter.
return object

InvertValueConverter() public method

Initializes a new instance of the InvertValueConverter class.
public InvertValueConverter ( ) : System
return System