Click or drag to resize

DualBinding<T> Class

Binding for joining two object bindings together
Inheritance Hierarchy
System.Object
  Eto.Forms.Binding
    Eto.Forms.DualBinding<T>

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

Type Parameters

T

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

The DualBinding<T> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDestination
Gets the destination binding
Public propertyMode
Gets the mode of the binding
Public propertySource
Gets the source binding
Top
Methods
  NameDescription
Public methodSetDestination
Sets the destination object's property with the value of the source
Public methodSetSource
Sets the source object's property with the value of the destination
Public methodToString
Returns a String that represents the current DualBinding<T>.
(Overrides Object.ToString().)
Public methodUnbind
Unbinds both the source and destination bindings
(Overrides Binding.Unbind().)
Public methodUpdate
Updates the binding value (sets the source with the value of the destination)
(Overrides Binding.Update(BindingUpdateMode).)
Top
Remarks
The DualBinding is the most useful binding, as it allows you to bind two objects together. This differs from the IndirectBinding<T> where it only specifies how to get/set the value from a single object.
See Also