# ConverterGroup

> A type to hold information about a conversion registry used locally on bindings.

## Definition

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

```csharp
public class ConverterGroup
```

## Remarks

You can apply converter groups on a [DataBinding](/engine/6000.7/script-reference/unityengine/uielements/databinding.md) in UXML with the `source-to-ui-converters` or `ui-to-source-converters` attributes or in C# script with the [DataBinding.ApplyConverterGroupToSource](/engine/6000.7/script-reference/unityengine/uielements/databinding/applyconvertergrouptosource.md) or [DataBinding.ApplyConverterGroupToUI](/engine/6000.7/script-reference/unityengine/uielements/databinding/applyconvertergrouptoui.md) methods.

## Constructors

| Constructor                                                                                                                                | Description               |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
| [ConverterGroup(System.String,System.String,System.String)](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/ctor.md) | Creates a ConverterGroup. |

## Properties

| Property                                                                                            | Description                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [description](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/description.md) | Optional description for a converter group ID that may include information about what this group contains or is used for, to be displayed to users to assist while authoring. |
| [displayName](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/displayname.md) | Optional and alternative name for a converter group ID, to be displayed to users to assist while authoring.                                                                   |
| [id](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/id.md)                   | The group id.                                                                                                                                                                 |

## Methods

| Method                                                                                                | Description                                                                                                       |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [AddConverter](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/addconverter.md) | Adds a converter to the group.                                                                                    |
| [TryConvert](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/tryconvert.md)     | Converts the specified value from `TSource` to `TDestination` using only the converter group.                     |
| [TrySetValue](/engine/6000.7/script-reference/unityengine/uielements/convertergroup/trysetvalue.md)   | Sets the value of a property at the given path to the given value, using this converter group or the global ones. |
