C# Class System.Waf.Presentation.Converters.InvertBooleanConverter

Value converter that inverts a boolean value.
Inheritance: IValueConverter
Show file Open project: jbe2277/waf

Public Methods

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

Converts a boolean value into the inverted value.

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

Converts a boolean value into the inverted value.

Method Details

Convert() public method

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

Convert() public method

Converts a boolean value into the inverted value.
public Convert ( object value, Type targetType, object parameter, string culture ) : object
value object The boolean value to invert.
targetType Type The type of the binding target property. This parameter will be ignored.
parameter object The converter parameter to use. This parameter will be ignored.
culture string The culture to use in the converter.
return object

ConvertBack() public method

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

ConvertBack() public method

Converts a boolean value into the inverted value.
public ConvertBack ( object value, Type targetType, object parameter, string culture ) : object
value object The boolean value to invert.
targetType Type The type to convert to. This parameter will be ignored.
parameter object The converter parameter to use. This parameter will be ignored.
culture string The culture to use in the converter.
return object