# IValueConverter interface

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

```cs
public interface IValueConverter
```

Interface for providing a reusable converter for binding values

**Remarks:** This can be used with the Convert() method for a binding.

## Methods

- [Convert](https://eto.picoe.ca/api/type/eto.forms.ivalueconverter/convert.md): Converts the `value` to the specified `targetType`
- [ConvertBack](https://eto.picoe.ca/api/type/eto.forms.ivalueconverter/convertback.md): Converts the `value` to the specified `targetType`.

## See Also

- [IndirectBinding<T>.Convert(IValueConverter, Type, object, CultureInfo)](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/convert.md)
- [IndirectBinding<T>.Convert<TValue>(IValueConverter, object, CultureInfo)](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/convert.md)
