| BindableExtensionsBindT Method (IBindable, String, Object, String, DualBindingMode) | 
 
            Adds a new dual binding between the control and the specified object
            
 
    Namespace: 
   Eto.Forms
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
 Syntax
Syntaxpublic static DualBinding<T> Bind<T>(
	this IBindable bindable,
	string propertyName,
	Object source,
	string sourcePropertyName,
	DualBindingMode mode = DualBindingMode.TwoWay
)
<ExtensionAttribute>
Public Shared Function Bind(Of T) ( 
	bindable As IBindable,
	propertyName As String,
	source As Object,
	sourcePropertyName As String,
	Optional mode As DualBindingMode = DualBindingMode.TwoWay
) As DualBinding(Of T)
[<ExtensionAttribute>]
static member Bind : 
        bindable : IBindable * 
        propertyName : string * 
        source : Object * 
        sourcePropertyName : string * 
        ?mode : DualBindingMode 
(* Defaults:
        let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding<'T> 
Parameters
- bindable
- Type: Eto.FormsIBindable
 Bindable object to add the binding to
- propertyName
- Type: SystemString
 Property on the control to update
- source
- Type: SystemObject
 Object to bind to
- sourcePropertyName
- Type: SystemString
 Property on the source object to retrieve/set the value of
- mode (Optional)
- Type: Eto.FormsDualBindingMode
 Mode of the binding
Type Parameters
- T
- [Missing <typeparam name="T"/> documentation for "M:Eto.Forms.BindableExtensions.Bind``1(Eto.Forms.IBindable,System.String,System.Object,System.String,Eto.Forms.DualBindingMode)"] 
Return Value
Type: 
DualBindingTA new instance of the DualBinding class that is used to control the binding
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IBindable. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also