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

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat object

ConvertBack() public méthode

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.
Résultat object