C# Class Caliburn.Micro.BooleanToVisibilityConverter

An IValueConverter which converters bool to Visibility.
Inheritance: IValueConverter
Afficher le fichier Open project: dbuksbaum/Learning-Caliburn.Micro

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a boolean value to a Visibility value.

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

Converts a value Visibility value to a boolean value.

Method Details

Convert() public méthode

Converts a boolean value to a Visibility value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Résultat object

ConvertBack() public méthode

Converts a value Visibility value to a boolean value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Résultat object