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

An IValueConverter which formats a string value using a Regular Expression.
Inheritance: IValueConverter
Show file Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Methods

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

Formats a string value using a Regular Expression.

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

Modifies the target data before passing it to the source object. This method is called only in F:System.Windows.Data.BindingMode.TwoWay bindings.

Method Details

Convert() public method

Formats a string value using a Regular Expression.
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

Modifies the target data before passing it to the source object. This method is called only in F:System.Windows.Data.BindingMode.TwoWay bindings.
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