Version

ValueConverter Property (ItemCalculatorBase)

Specifies the converter to use to convert between the underlying value of the source item to the value that's used in calculations.
Syntax
'Declaration
 
Public Property ValueConverter As IValueConverter
public IValueConverter ValueConverter {get; set;}
Remarks

Note: this converter's System.Windows.Data.IValueConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo) will be called when getting source values from an item. Its System.Windows.Data.IValueConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo) method will be called when setting target property values, used only for ItemCalculations where the TargetProperty has been specified. In both cases the property name will be passed as the parameter into each method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also