Click or drag to resize

TypeConverter Class

Note: This API is now obsolete.

Type converter implementation, for type converter compatibility in portable class libraries.
Inheritance Hierarchy
SystemObject
  EtoTypeConverter
    More...

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ObsoleteAttribute("Since 2.5, Use System.ComponentModel.TypeConverter instead")]
public class TypeConverter

The TypeConverter type exposes the following members.

Constructors
  NameDescription
Public methodTypeConverter
Initializes a new instance of the TypeConverter class
Top
Methods
  NameDescription
Public methodCanConvertFrom(Type)
Determines whether this instance can convert from the specified sourceType.
Public methodCanConvertFrom(ITypeDescriptorContext, Type)
Determines whether this instance can convert from the specified context sourceType.
Public methodCanConvertTo(Type)
Determines whether this instance can convert to the specified destinationType.
Public methodCanConvertTo(ITypeDescriptorContext, Type)
Determines whether this instance can convert to the specified context destinationType.
Public methodConvertFrom(Object)
Converts from the specified object.
Public methodConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts the specified value.
Public methodConvertFromInvariantString(String)
Converts from an invariant string.
Public methodConvertFromInvariantString(ITypeDescriptorContext, String)
Converts from an invariant string.
Public methodConvertFromString(String)
Converts from string.
Public methodConvertFromString(ITypeDescriptorContext, String)
Converts from string.
Public methodConvertFromString(ITypeDescriptorContext, CultureInfo, String)
Converts from string.
Public methodConvertTo(Object, Type)
Converts to the specified type.
Public methodConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts to the specified type.
Public methodConvertToInvariantString(Object)
Converts to an invariant string.
Public methodConvertToInvariantString(ITypeDescriptorContext, Object)
Converts to invariant string.
Public methodConvertToString(Object)
Converts to a string.
Public methodConvertToString(ITypeDescriptorContext, Object)
Converts to a string.
Public methodConvertToString(ITypeDescriptorContext, CultureInfo, Object)
Converts to a string.
Protected methodGetConvertFromException
Gets the exception when converting from a value.
Protected methodGetConvertToException
Gets the exception when converting to a value.
Public methodIsValid(Object)
Determines whether this instance is valid the specified value.
Public methodIsValid(ITypeDescriptorContext, Object)
Determines whether this instance is valid the specified context value.
Top
See Also

Reference

Inheritance Hierarchy