C# Class WPFLocalizeExtension.TypeConverters.DefaultConverter

Implements a standard converter that calls itself all known type converters.
Inheritance: IValueConverter
ファイルを表示 Open project: SeriousM/WPFLocalizationExtension

Public Methods

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

Modifies the source data before passing it to the target for display in the UI.

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

Modifies the target data before passing it to the source object.

Method Details

Convert() public method

Modifies the source data before passing it to the target for display in the UI.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The source data being passed to the target.
targetType System.Type The of data expected by the target dependency property.
parameter object An optional parameter to be used in the converter logic.
culture System.Globalization.CultureInfo The culture of the conversion.
return object

ConvertBack() public method

Modifies the target data before passing it to the source object.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The target data being passed to the source.
targetType System.Type The of data expected by the source object.
parameter object An optional parameter to be used in the converter logic.
culture System.Globalization.CultureInfo The culture of the conversion.
return object