DualBindingT Constructor (Object, String, Object, String, DualBindingMode) |
Initializes a new instance of the DualBinding class with two object property bindings
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public DualBinding(
Object source,
string sourceProperty,
Object destination,
string destinationProperty,
DualBindingMode mode = DualBindingMode.TwoWay
)
Public Sub New (
source As Object,
sourceProperty As String,
destination As Object,
destinationProperty As String,
Optional mode As DualBindingMode = DualBindingMode.TwoWay
)
new :
source : Object *
sourceProperty : string *
destination : Object *
destinationProperty : string *
?mode : DualBindingMode
(* Defaults:
let _mode = defaultArg mode DualBindingMode.TwoWay
*)
-> DualBinding
Parameters
- source
- Type: SystemObject
Object to retrieve the source value from - sourceProperty
- Type: SystemString
Property to retrieve from the source - destination
- Type: SystemObject
Object to set the destination value to - destinationProperty
- Type: SystemString
Property to set on the destination - mode (Optional)
- Type: Eto.FormsDualBindingMode
Mode of the binding
See Also