C# Class ERP.NotOperatorValueConverter

Two way IValueConverter that lets you bind the inverse of a boolean property to a dependency property
Inheritance: IValueConverter
Exibir arquivo Open project: arthurgfonseca/ERP-Grupo5

Public Methods

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

Converts the given value to be its inverse

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

The inverse of the Convert.

Method Details

Convert() public method

Converts the given value to be its inverse
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The bool value to convert.
targetType System.Type The type to convert to (ignored).
parameter object Optional parameter (ignored).
culture System The culture of the conversion (ignored).
return object

ConvertBack() public method

The inverse of the Convert.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value to convert back.
targetType System.Type The type to convert to (ignored).
parameter object Optional parameter (ignored).
culture System The culture of the conversion (ignored).
return object