C# Class Catel.MVVM.Converters.ValueConverterGroup

Inheritance: IValueConverter
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

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

Converts a value.

ValueConverterGroup ( ) : System

Initializes a new instance of the ValueConverterGroup class.

Méthodes protégées

Méthode Description
GetTargetType ( int converterIndex, Type finalTargetType, bool convert ) : Type

Returns the target type for a conversion operation.

Private Methods

Méthode Description
OnConvertersCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Called when [converters collection changed].

Method Details

Convert() public méthode

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

ConvertBack() public méthode

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Résultat object

GetTargetType() protected méthode

Returns the target type for a conversion operation.
protected GetTargetType ( int converterIndex, Type finalTargetType, bool convert ) : Type
converterIndex int The index of the current converter about to be executed.
finalTargetType System.Type The 'targetType' argument passed into the conversion method.
convert bool Pass true if calling from the Convert method, or false if calling from ConvertBack.
Résultat System.Type

ValueConverterGroup() public méthode

Initializes a new instance of the ValueConverterGroup class.
public ValueConverterGroup ( ) : System
Résultat System