PointConverter
Class
Converts string coordinate pairs to Point values.
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public sealed class PointConverter : TypeConverter
Inheritance: objectTypeConverterPointConverter
Inherited Members
Constructors
Methods
Accepts strings and delegates other source types to the base converter.
C#
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
The conversion context passed to the base converter when needed.
sourceTypeTypeThe source type to test.
Returns:true for strings or for source types accepted by the base converter.
Overrides:
C#
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
The conversion context passed to the base converter for non-string values.
cultureCultureInfoThe culture passed to the base converter; point strings use invariant culture.
valueobjectThe value to convert.
Returns:The parsed point for a string value, or the base converter's result for another source type.
Overrides: