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
)
Public Function Bind(Of TObject) (
objectValue As TObject,
objectBinding As IndirectBinding(Of TValue),
Optional mode As DualBindingMode = DualBindingMode.TwoWay
) As DualBinding(Of TValue)
member Bind :
objectValue : 'TObject *
objectBinding : IndirectBinding<'TValue> *
?mode : DualBindingMode
(* Defaults:
let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding<'TValue>
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