Table of Contents

Class LengthConverter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LengthConverter - Converter class for converting instances of other types to and from double representing length.

public class LengthConverter : TypeConverter
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)

ConvertTo - Attempt to convert a double to the given type