C# Class Cimbalino.Phone.Toolkit.Controls.EnumValuesConverter

An IValueConverter which converts an Enum possible values to a string array value.
Inheritance: IValueConverter
Mostrar archivo Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Methods

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

Converts an Enum possible values to a string array value.

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

Converts a string array value to an Enum possible value.

Method Details

Convert() public method

Converts an Enum possible values to a string array value.
public Convert ( object value, Type targetType, object parameter, System 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 The culture to use in the converter.
return object

ConvertBack() public method

Converts a string array value to an Enum possible value.
public ConvertBack ( object value, Type targetType, object parameter, System 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 The culture to use in the converter.
return object