# BindableExtensions.ManyToSingle<T, TValue> examples

Examples for [ManyToSingle<T, TValue>](https://eto.picoe.ca/api/type/eto.forms.bindableextensions/manytosingle.md) in Eto.Forms.BindableExtensions.

## C#

```cs
using Eto.Forms;

// As an extension method
IndirectBinding<TValue> result = binding.ManyToSingle(getValue, setValue, mixedValue);

// As a static method
result = BindableExtensions.ManyToSingle(binding, getValue, setValue, mixedValue);
```

## Python

```python
import clr
clr.AddReference('Eto')
import Eto.Forms
clr.ImportExtensions(Eto.Forms)

# As an extension method
result = binding.ManyToSingle(get_value, set_value, mixed_value)

# As a static method
result = Eto.Forms.BindableExtensions.ManyToSingle(binding, get_value, set_value, mixed_value)
```
