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

An IValueConverter which converts a primitive value to a string value.
Inheritance: IValueConverter
Mostra file Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Methods

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

Converts a primitive value to a string value.

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

Converts a string value to a primitive value.

Method Details

Convert() public method

Converts a primitive value to a string 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.
return object

ConvertBack() public method

Converts a string value to a primitive value.
public ConvertBack ( 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.
return object