# ObjectBinding<TValue> class

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

```cs
public class ObjectBinding<TValue> : ObjectBinding<object, TValue>
```

Binding for a particular object to get/set values from/to

**Remarks:** This binding provides a way to get/set values for a particular object. This uses a [IndirectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1.md) as its logic to actually retrieve/set the values. This acts as a bridge between the [IndirectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1.md) and [DirectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1.md) so that you can utilize the [DirectBinding<T>.DataValueChanged](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/datavaluechanged.md) method. Typically, one would use the [PropertyBinding<T>](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1.md), or the `ObjectBinding{T,TValue}` constructor to hook up this binding to a particular property of the specified object

**Type parameters:**

- `TValue`: The type of value for the binding.

## Constructors

- [ObjectBinding<TValue>](https://eto.picoe.ca/api/type/eto.forms.objectbinding-1/ctor.md): (2 overloads) Initializes a new instance of the ObjectBinding with the specified object and binding to get/set values with

## Inherited Members

- From [ObjectBinding<T, TValue>](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2.md): [DataItem](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/dataitem.md), [DataValue](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/datavalue.md), [GetDataItem](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/getdataitem.md), [GettingNullValue](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/gettingnullvalue.md), [InnerBinding](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/innerbinding.md), [SettingNullValue](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/settingnullvalue.md), [Bind<TObject>](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/bind.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/handleevent.md), [RemoveEvent](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/removeevent.md), [ToString](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/tostring.md), [TriggerDataValueChanged](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/triggerdatavaluechanged.md), [Unbind](https://eto.picoe.ca/api/type/eto.forms.objectbinding-2/unbind.md)
- From [DirectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1.md): [DataValueChanged](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/datavaluechanged.md), [Cast<TValue>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/cast.md), [CatchException<TException>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/catchexception.md), [Child<TValue>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/child.md), [Convert<TValue>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/convert.md), [OnDataValueChanged](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/ondatavaluechanged.md), [ToBool](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/tobool.md), [ToType<TType>](https://eto.picoe.ca/api/type/eto.forms.directbinding-1/totype.md)
- From [Binding](https://eto.picoe.ca/api/type/eto.forms.binding.md): [Changed](https://eto.picoe.ca/api/type/eto.forms.binding/changed.md), [Changing](https://eto.picoe.ca/api/type/eto.forms.binding/changing.md), [OnChanged](https://eto.picoe.ca/api/type/eto.forms.binding/onchanged.md), [OnChanging](https://eto.picoe.ca/api/type/eto.forms.binding/onchanging.md), [Update](https://eto.picoe.ca/api/type/eto.forms.binding/update.md)
