PointConverter
Converts string coordinate lists to Point values.
String input is parsed with invariant culture; other conversions are delegated to the base converter.
Definition
Namespace:Telerik.WinControls.Spreadsheet.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public sealed class PointConverter : TypeConverter
Inheritance: objectTypeConverterPointConverter
Inherited Members
Constructors
Creates the converter registered for Point values.
public PointConverter()
Methods
Determines whether the specified type can be converted to a point.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
The conversion context passed to the base converter.
sourceTypeTypeThe type to convert from.
Returns:true for strings or types supported by the base converter.
Overrides:
Converts a string to a point or delegates other values to the base converter.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
The conversion context passed to the base converter.
cultureCultureInfoThe culture passed to the base converter; string coordinates use invariant culture.
valueobjectThe value to convert.
Returns:A parsed Point for string input, or the base converter's result.
Exceptions: NotSupportedExceptionvalue is null.
Overrides: