C# Class ComponentFactory.Quicksilver.Binding.EvalBindingConverter

Evalutes the expression using the provided set of source binding values.
Inheritance: IMultiValueConverter
Afficher le fichier Open project: ComponentFactory/Quicksilver

Méthodes publiques

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

Converts source values to a value for the binding target.

ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]

Converts a binding target value to the source binding values.

EvalBindingConverter ( string expression, System.Language language, FrameworkElement target ) : System

Initialise a new instance of the EvalBindingConverter class.

Méthodes protégées

Méthode Description
OnResolveIdentifier ( object sender, ResolveIdentifierEventArgs e ) : void

Occurs when the contained eval needs to resolve an unknown identifier.

Private Methods

Méthode Description
ConvertUsingConverter ( EvalResult ret, Type targetType ) : object

Method Details

Convert() public méthode

Converts source values to a value for the binding target.
public Convert ( object values, Type targetType, object parameter, CultureInfo culture ) : object
values object The array of values that the source bindings produces.
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 binding target value to the source binding values.
public ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
value object The value that the binding target produces.
targetTypes System.Type The array of types to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Résultat object[]

EvalBindingConverter() public méthode

Initialise a new instance of the EvalBindingConverter class.
public EvalBindingConverter ( string expression, System.Language language, FrameworkElement target ) : System
expression string Immutable expression to evaluate.
language System.Language Language used to parse and the expression.
target System.Windows.FrameworkElement Framework element that is target of conversion result.
Résultat System

OnResolveIdentifier() protected méthode

Occurs when the contained eval needs to resolve an unknown identifier.
protected OnResolveIdentifier ( object sender, ResolveIdentifierEventArgs e ) : void
sender object Source of event.
e ResolveIdentifierEventArgs An ResolveIdentifierEventArgs containing the event data.
Résultat void