Click or drag to resize

ObjectBindingT, TValueBind Method (DirectBindingTValue, DualBindingMode)

Creates a new dual binding between the specified sourceBinding and this binding.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public virtual DualBinding<TValue> Bind(
	DirectBinding<TValue> sourceBinding,
	DualBindingMode mode = DualBindingMode.TwoWay
)

Parameters

sourceBinding
Type: Eto.FormsDirectBindingTValue
Source binding to bind from.
mode (Optional)
Type: Eto.FormsDualBindingMode
Dual binding mode.

Return Value

Type: DualBindingTValue

[Missing <returns> documentation for "M:Eto.Forms.ObjectBinding`2.Bind(Eto.Forms.DirectBinding{`1},Eto.Forms.DualBindingMode)"]

Remarks
This creates a DualBindingT between the specified sourceBinding and this binding. You must keep a reference to the binding to unbind when finished.
See Also