Class StringToPathGeometryConverter
Converts string to the geometry.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class StringToPathGeometryConverter : Object, IValueConverter
Constructors
StringToPathGeometryConverter()
Declaration
public StringToPathGeometryConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System. The value produced by the binding source. |
System. The type of the binding target property. |
System. The converter parameter to use. |
System. The culture to use in the converter. |
Returns
System. A converted value. If the method returns null (Nothing in Visual Basic), the valid null value is used. |
Convert(String)
Converts string path data definition to PathGeometry object.
Declaration
public Geometry Convert(string path)
Parameters
System. String with path data definition. |
Returns
System. PathGeometry object created from string definition. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts a binding target value to the source binding values.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System. The value that the binding target produces. |
System. The array of types to convert to. The array length indicates the number and types of values that are suggested for the method to return. |
System. The converter parameter to use. |
System. The culture to use in the converter. |
Returns
System. An array of values that have been converted from the target value back to the source values. |
ConvertBack(PathGeometry)
Converts PathGeometry object to its string equivalent.
Declaration
public string ConvertBack(PathGeometry geometry)
Parameters
System. Path Geometry object. |
Returns
System. String equivalent to PathGeometry contents. |