ObjectBinding<T, TValue>.Bind Method (Object, String, DualBindingMode) |
Creates a binding to the propertyName of the specified objectValue.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic DualBinding<TValue> Bind(
Object objectValue,
string propertyName,
DualBindingMode mode = DualBindingMode.TwoWay
)
Public Function Bind (
objectValue As Object,
propertyName As String,
Optional mode As DualBindingMode = DualBindingMode.TwoWay
) As DualBinding(Of TValue)
member Bind :
objectValue : Object *
propertyName : string *
?mode : DualBindingMode
(* Defaults:
let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding<'TValue>
Parameters
- objectValue
- Type: System.Object
Object to bind to. - propertyName
- Type: System.String
Name of the property to bind to on the objectValue. - mode (Optional)
- Type: Eto.Forms.DualBindingMode
Direction of the binding.
Return Value
Type:
DualBinding<TValue>[Missing <returns> documentation for "M:Eto.Forms.ObjectBinding`2.Bind(System.Object,System.String,Eto.Forms.DualBindingMode)"]
Remarks
See Also