Converts the binding values according to the mathematical expression in the parameter.
More...
Inherits IValueConverter, and IMultiValueConverter.
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Conversion (see MSDN help for more information about this method...). More...
|
|
object | Convert (object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Conversion (see MSDN help for more information about this method...). More...
|
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Inverse conversion - not supported by this converter. More...
|
|
object[] | ConvertBack (object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) |
| Inverse conversion (not supported). More...
|
|
|
virtual object | Process (object[] values, Type targetType, string parameter) |
| The actual processing function. More...
|
|
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.
◆ Convert() [1/2]
object Convert |
( |
object |
value, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Conversion (see MSDN help for more information about this method...).
- Parameters
-
value | Input value. |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
- Returns
- Conversion result
◆ Convert() [2/2]
object Convert |
( |
object[] |
values, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Conversion (see MSDN help for more information about this method...).
- Parameters
-
values | Input values to be converted |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
- Returns
- Conversion result
◆ ConvertBack() [1/2]
object ConvertBack |
( |
object |
value, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Inverse conversion - not supported by this converter.
- Parameters
-
value | Ignored. |
targetType | Ignored. |
parameter | Ignored. |
culture | Ignored. |
- Returns
- Inverse conversion result.
◆ ConvertBack() [2/2]
object[] ConvertBack |
( |
object |
value, |
|
|
Type[] |
targetTypes, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Inverse conversion (not supported).
- Parameters
-
value | ignored |
targetTypes | ignored |
parameter | ignored |
culture | ignored |
- Returns
- Nothing (always throws).
- Exceptions
-
NotSupportedException | Always. |
◆ Process()
virtual object Process |
( |
object[] |
values, |
|
|
Type |
targetType, |
|
|
string |
parameter |
|
) |
| |
|
protectedvirtual |
The actual processing function.
- Parameters
-
values | values to be processed |
targetType | target type |
parameter | Conversion parameter containing the formula. |
- Returns
- Evaluation result.