# TypeConverter class

Namespace: [Eto](https://eto.picoe.ca/api/namespace/eto.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class TypeConverter
```

> **Obsolete:** Since 2.5, Use System.ComponentModel.TypeConverter instead

Type converter implementation, for type converter compatibility in portable class libraries.

**Derived types:** [ColorConverter](https://eto.picoe.ca/api/type/eto.drawing.colorconverter.md), [ImageConverter](https://eto.picoe.ca/api/type/eto.drawing.imageconverter.md), [PaddingConverter](https://eto.picoe.ca/api/type/eto.drawing.paddingconverter.md), [PointConverter](https://eto.picoe.ca/api/type/eto.drawing.pointconverter.md), [PointFConverter](https://eto.picoe.ca/api/type/eto.drawing.pointfconverter.md), [RectangleConverter](https://eto.picoe.ca/api/type/eto.drawing.rectangleconverter.md), [RectangleFConverter](https://eto.picoe.ca/api/type/eto.drawing.rectanglefconverter.md), [SizeConverter](https://eto.picoe.ca/api/type/eto.drawing.sizeconverter.md), [SizeFConverter](https://eto.picoe.ca/api/type/eto.drawing.sizefconverter.md)

## Methods

- [CanConvertFrom](https://eto.picoe.ca/api/type/eto.typeconverter/canconvertfrom.md): (2 overloads) Determines whether this instance can convert from the specified context sourceType.
- [CanConvertTo](https://eto.picoe.ca/api/type/eto.typeconverter/canconvertto.md): (2 overloads) Determines whether this instance can convert to the specified context destinationType.
- [ConvertFrom](https://eto.picoe.ca/api/type/eto.typeconverter/convertfrom.md): (2 overloads) Converts the specified `value`.
- [ConvertFromInvariantString](https://eto.picoe.ca/api/type/eto.typeconverter/convertfrominvariantstring.md): (2 overloads) Converts from an invariant string.
- [ConvertFromString](https://eto.picoe.ca/api/type/eto.typeconverter/convertfromstring.md): (3 overloads) Converts from string.
- [ConvertTo](https://eto.picoe.ca/api/type/eto.typeconverter/convertto.md): (2 overloads) Converts to the specified type.
- [ConvertToInvariantString](https://eto.picoe.ca/api/type/eto.typeconverter/converttoinvariantstring.md): (2 overloads) Converts to invariant string.
- [ConvertToString](https://eto.picoe.ca/api/type/eto.typeconverter/converttostring.md): (3 overloads) Converts to a string.
- [GetConvertFromException](https://eto.picoe.ca/api/type/eto.typeconverter/getconvertfromexception.md): Gets the exception when converting from a value.
- [GetConvertToException](https://eto.picoe.ca/api/type/eto.typeconverter/getconverttoexception.md): Gets the exception when converting to a value.
- [IsValid](https://eto.picoe.ca/api/type/eto.typeconverter/isvalid.md): (2 overloads) Determines whether this instance is valid the specified context value.
