ClassStringToPathGeometryConverter
Converts string to the geometry.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.Utilities
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class StringToPathGeometryConverter
Inheritance: objectStringToPathGeometryConverter
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
value
The value produced by the binding source.
targetType
The type of the binding target property.
parameter
The converter parameter to use.
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.
Convert(string)
Converts string path data definition to PathGeometry object.
ConvertBack(PathGeometry)
Converts PathGeometry object to its string equivalent.
Declaration
public string ConvertBack(PathGeometry geometry)
Parameters
geometry
Path Geometry object.
Returns
String equivalent to PathGeometry contents.
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
value
The value that the binding target produces.
targetType
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.
parameter
The converter parameter to use.
culture
The culture to use in the converter.
Returns
An array of values that have been converted from the target value back to the source values.