C# Class ModernWPF.Converters.EnumValueConverter

Inheritance: IValueConverter
Datei anzeigen Open project: soukoku/ModernWPF

Public Methods

Method 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 method

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.
return object

ConvertBack() public method

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.
return object