C# Class ERP.NotOperatorValueConverter

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

Méthodes publiques

Méthode 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 méthode

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).
Résultat object

ConvertBack() public méthode

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).
Résultat object