Class StringToAngleRangeConverter
Converts a string to an AngleRange object.
Inheritance
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class StringToAngleRangeConverter : TypeConverter
Constructors
StringToAngleRangeConverter()
Declaration
public StringToAngleRangeConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether the type converter can convert an object from the specified type to the type of this converter.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System. An object that provides a format context. |
System. The type you want to convert from. |
Returns
System. True if this converter can perform the conversion; otherwise, false. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts from the specified value to the intended conversion type of the converter.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System. An object that provides a format context. |
System. The System. |
System. The value to convert to the type of this converter. |
Returns
System. The converted value. |