C# Class ModernWPF.Converters.EnumValueConverter

Inheritance: IValueConverter
Afficher le fichier Open project: soukoku/ModernWPF

Méthodes publiques

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

Converts the enum to integer value.

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

Converts the value back to enum.

Method Details

Convert() public méthode

Converts the enum to integer value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type Type of the target.
parameter object The parameter.
culture System.Globalization.CultureInfo The culture.
Résultat object

ConvertBack() public méthode

Converts the value back to enum.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type Type of the target.
parameter object The parameter.
culture System.Globalization.CultureInfo The culture.
Résultat object