# RegisterGlobalConverter<TSource, TDestination>(TypeConverter<TSource, TDestination>)

> Registers a global UI conversion delegate that will be used when converting data between a data source and a UI control. This delegate will be used both when converting data from and to UI.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## RegisterGlobalConverter\<T, U>(TypeConverter\<T, T>)

```csharp
public static void RegisterGlobalConverter<TSource, TDestination>(TypeConverter<TSource, TDestination> converter)
```

### Parameters

**** (\[TypeConverter\<T, T>]\(/engine/6000.6/script-reference/unity/properties/typeconverter2)): The delegate that handles the conversion.
