CVB.Net 15.0
Loading...
Searching...
No Matches

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.
 

Detailed Description

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.

Member Function Documentation

◆ Convert() [1/2]

object Convert ( object value,
Type targetType,
object parameter,
CultureInfo culture )

Conversion (see MSDN help for more information about this method...).

Parameters
valueInput value.
targetTypeTarget data type (currently only double is supported
parameterMathmetical expression.
cultureIgnored
Returns
Conversion result

◆ Convert() [2/2]

object Convert ( object[] values,
Type targetType,
object parameter,
CultureInfo culture )

Conversion (see MSDN help for more information about this method...).

Parameters
valuesInput values to be converted
targetTypeTarget data type (currently only double is supported
parameterMathmetical expression.
cultureIgnored
Returns
Conversion result

◆ ConvertBack() [1/2]

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

Inverse conversion - not supported by this converter.

Parameters
valueIgnored.
targetTypeIgnored.
parameterIgnored.
cultureIgnored.
Returns
Inverse conversion result.

◆ ConvertBack() [2/2]

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

Inverse conversion (not supported).

Parameters
valueignored
targetTypesignored
parameterignored
cultureignored
Returns
Nothing (always throws).
Exceptions
NotSupportedExceptionAlways.

◆ Process()

virtual object Process ( object[] values,
Type targetType,
string parameter )
protectedvirtual

The actual processing function.

Parameters
valuesvalues to be processed
targetTypetarget type
parameterConversion parameter containing the formula.
Returns
Evaluation result.