Click or drag to resize

ObjectBindingT, TValueBindTObject Method (TObject, IndirectBindingTValue, DualBindingMode)

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

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DualBinding<TValue> Bind<TObject>(
	TObject objectValue,
	IndirectBinding<TValue> objectBinding,
	DualBindingMode mode = DualBindingMode.TwoWay
)

Parameters

objectValue
Type: TObject
Object to get/set the values from/to.
objectBinding
Type: Eto.FormsIndirectBindingTValue
Indirect binding to get/set the values from the objectValue.
mode (Optional)
Type: Eto.FormsDualBindingMode
Dual binding mode.

Type Parameters

TObject
The type of the object that is being bound to.

Return Value

Type: DualBindingTValue

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

See Also