BindableBindingT, TValueBind Method |
Binds the specified sourceBinding to this binding.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public override DualBinding<TValue> Bind(
DirectBinding<TValue> sourceBinding,
DualBindingMode mode = DualBindingMode.TwoWay
)
Public Overrides Function Bind (
sourceBinding As DirectBinding(Of TValue),
Optional mode As DualBindingMode = DualBindingMode.TwoWay
) As DualBinding(Of TValue)
abstract Bind :
sourceBinding : DirectBinding<'TValue> *
?mode : DualBindingMode
(* Defaults:
let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding<'TValue>
override Bind :
sourceBinding : DirectBinding<'TValue> *
?mode : DualBindingMode
(* Defaults:
let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding<'TValue>
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.BindableBinding`2.Bind(Eto.Forms.DirectBinding{`1},Eto.Forms.DualBindingMode)"]
Remarks
This creates a
DualBindingT between the specified
sourceBinding and this binding.
The binding is added to the
Bindings collection.
See Also