# PropertyBinding<T> 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 PropertyBinding<T> : IndirectBinding<T>
```

Indirect binding to get/set values using a property of a specified object

**Remarks:** This is used when you are binding to a particular property of an object. This can be used to get/set values from any object. If you want to bind to a particular object directly, use the [ObjectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.objectbinding-1.md) with this class as its inner binding.

**Type parameters:**

- `T`

## Constructors

- [PropertyBinding<T>](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/ctor.md): (2 overloads) Initializes a new instance of the [PropertyBinding<T>](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1.md) class.

## Properties

- [IgnoreCase](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/ignorecase.md): Gets or sets whether the [PropertyBinding<T>.Property](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/property.md) specified is case-sensitive or not
- [Property](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/property.md): Gets or sets the property in which to get/set values from for this binding

## Methods

- [AddValueChangedHandler](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/addvaluechangedhandler.md): Wires an event handler to fire when the property of the dataItem is changed
- [HasProperty](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/hasproperty.md): Determines whether the dataItem contains the property this binding is bound to.
- [InternalGetValue](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/internalgetvalue.md): Implements the logic to get the value from the specified object
- [InternalSetValue](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/internalsetvalue.md): Implements the logic to set the value on the specified object
- [RemoveValueChangedHandler](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/removevaluechangedhandler.md): Removes the handler for the specified reference from [PropertyBinding<T>.AddValueChangedHandler(object, EventHandler<EventArgs>)](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/addvaluechangedhandler.md)
- [ToString](https://eto.picoe.ca/api/type/eto.forms.propertybinding-1/tostring.md): Returns a `String` that represents the current `PropertyBinding`.

## Inherited Members

- From [IndirectBinding<T>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1.md): [AfterDelay](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/afterdelay.md), [Cast<TValue>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/cast.md), [CatchException<TException>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/catchexception.md), [Child<TNewValue>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/child.md), [Convert](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/convert.md), [EnumToString](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/enumtostring.md), [GetValue](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/getvalue.md), [OfType<TValue>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/oftype.md), [SetValue](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/setvalue.md), [ToBool](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-1/tobool.md), [ToType<TType>](https://eto.picoe.ca/api/type/eto.forms.indirectbinding-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), [HandleEvent](https://eto.picoe.ca/api/type/eto.forms.binding/handleevent.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), [RemoveEvent](https://eto.picoe.ca/api/type/eto.forms.binding/removeevent.md), [Unbind](https://eto.picoe.ca/api/type/eto.forms.binding/unbind.md), [Update](https://eto.picoe.ca/api/type/eto.forms.binding/update.md)
