Value converter to access extended data properties from XAML. 2-way binding can't be specified.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class ExtendedDataConverter : IValueConverter
Inheritance: objectExtendedDataConverter
Implements:
Constructors
public ExtendedDataConverter()
Methods
Converts a value.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
value
The value produced by the binding source.
targetType
The type of the binding target property.
parameter
The converter parameter to use. It can be specified in a few different ways:
<ul><li>Simple name of the extended property.</li><li>Formatted extended property. For example: "SUM_SQMI_A|F2". The '|' character is used to separate extended property name and its output format.</li><li>Format string which can use number of the extended properties.
For example: "{CNTRY_NAME} Miles: {SUM_SQMI_A|F2}, KM: {SUM_SQKM_A|F1}".
</li></ul>
culture
The culture to use in the converter.
Returns:A converted value. If the method returns null (Nothing in Visual Basic), the valid null value is used.
Converts a binding target value to the source binding values.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value that the binding target produces.
targetTypeTypeThe array of types to convert to. The array length indicates the number and types of values that are suggested for the method to return.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns:An array of values that have been converted from the target value back to the source values.