Click or drag to resize

PropertyBindingT Class

Indirect binding to get/set values using a property of a specified object
Inheritance Hierarchy
SystemObject
  Eto.FormsBinding
    Eto.FormsIndirectBindingT
      Eto.FormsPropertyBindingT

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class PropertyBinding<T> : IndirectBinding<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.PropertyBinding`1"]

The PropertyBindingT type exposes the following members.

Constructors
  NameDescription
Public methodPropertyBindingT
Initializes a new instance of the PropertyBindingT class.
Public methodPropertyBindingT(String, Boolean)
Initializes a new instance of the PropertyBinding with the specified property
Top
Properties
  NameDescription
Public propertyIgnoreCase
Gets or sets whether the Property specified is case-sensitive or not
Public propertyProperty
Gets or sets the property in which to get/set values from for this binding
Top
Methods
  NameDescription
Public methodAddValueChangedHandler
Wires an event handler to fire when the property of the dataItem is changed
(Overrides IndirectBindingTAddValueChangedHandler(Object, EventHandlerEventArgs).)
Protected methodHasProperty
Determines whether the dataItem contains the property this binding is bound to.
Protected methodInternalGetValue
Implements the logic to get the value from the specified object
(Overrides IndirectBindingTInternalGetValue(Object).)
Protected methodInternalSetValue
Implements the logic to set the value on the specified object
(Overrides IndirectBindingTInternalSetValue(Object, T).)
Public methodRemoveValueChangedHandler (Overrides IndirectBindingTRemoveValueChangedHandler(Object, EventHandlerEventArgs).)
Public methodToString
Returns a String that represents the current PropertyBindingT.
(Overrides ObjectToString.)
Top
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 ObjectBindingTValue with this class as its inner binding.
See Also