# DualBindingMode enum

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

```cs
public enum DualBindingMode
```

Mode of the [DualBinding<T>](https://eto.picoe.ca/api/type/eto.forms.dualbinding-1.md)

**Remarks:** This specifies what direction the updates of each of the properties are automatically handled. Only properties that have a Changed event, or objects that implement [INotifyPropertyChanged](https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged) will handle automatically updating the binding.

## Values

| Name | Value | Description |
| --- | --- | --- |
| OneWay | 0 | Binding will update the destination if the source property is changed |
| TwoWay | 1 | Binding will update both the destination or source if updated on either the source or destination, respectively |
| OneWayToSource | 2 | Binding will update the source if the destination property is changed |
| OneTime | 3 | Binding will only set the destination from the source when initially bound |
| Manual | 4 | Binding will only update when the [Binding.Update(BindingUpdateMode)](https://eto.picoe.ca/api/type/eto.forms.binding/update.md) method is called. |
