Class LengthConverter
Converter class for converting instances of other types to and from coord representing length.
public class LengthConverter : BaseTypeConverter
- Inheritance
-
LengthConverter
Methods
- CanConvertFrom(ITypeDescriptorContext, Type)
CanConvertFrom - Returns whether or not this class can convert from a given type.
- CanConvertTo(ITypeDescriptorContext, Type)
CanConvertTo - Returns whether or not this class can convert to a given type.
- ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
ConvertFrom - Attempt to convert to a length from the given object
- ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Attempt to convert a coordinate to the given type