C# Class Cimbalino.Phone.Toolkit.Converters.StringToVisibilityConverter

An IValueConverter which converts a string value to a Visibility value.
Inheritance: IValueConverter
Show file Open project: Cimbalino/Cimbalino-Phone-Toolkit Class Usage Examples

Public Methods

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

Converts a string value to a Visibility value.

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

Converts a Visibility value to a string value.

Method Details

Convert() public method

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

ConvertBack() public method

Converts a Visibility value to a string 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