Converts the binding values according to the mathematical expression in the parameter. More...
Public Member Functions | |
object | Convert (object value, Type targetType, object parameter, CultureInfo culture) |
Conversion (see MSDN help for more information about this method...). | |
object | Convert (object[] values, Type targetType, object parameter, CultureInfo culture) |
Conversion (see MSDN help for more information about this method...). | |
object | ConvertBack (object value, Type targetType, object parameter, CultureInfo culture) |
Inverse conversion - not supported by this converter. | |
object[] | ConvertBack (object value, Type[] targetTypes, object parameter, CultureInfo culture) |
Inverse conversion (not supported). | |
Protected Member Functions | |
virtual object | Process (object[] values, Type targetType, string parameter) |
The actual processing function. | |
Converts the binding values according to the mathematical expression in the parameter.
Refer to the binding values via variable v for single binding and v0, v1, v2, ... for multibinding.
object Convert | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
CultureInfo | culture ) |
Conversion (see MSDN help for more information about this method...).
value | Input value. |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
object Convert | ( | object[] | values, |
Type | targetType, | ||
object | parameter, | ||
CultureInfo | culture ) |
Conversion (see MSDN help for more information about this method...).
values | Input values to be converted |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
object ConvertBack | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
CultureInfo | culture ) |
Inverse conversion - not supported by this converter.
value | Ignored. |
targetType | Ignored. |
parameter | Ignored. |
culture | Ignored. |
object[] ConvertBack | ( | object | value, |
Type[] | targetTypes, | ||
object | parameter, | ||
CultureInfo | culture ) |
Inverse conversion (not supported).
value | ignored |
targetTypes | ignored |
parameter | ignored |
culture | ignored |
NotSupportedException | Always. |
|
protectedvirtual |
The actual processing function.
values | values to be processed |
targetType | target type |
parameter | Conversion parameter containing the formula. |