Esempio n. 1
0
 public DualBinding Bind <TObject>(DelegateBinding <TObject, TValue> binding, DualBindingMode mode = DualBindingMode.TwoWay)
 {
     return(BindingExtensions.Bind(controlBinding: this, dataContextBinding: binding, mode: mode));
 }
Esempio n. 2
0
        public DualBinding Bind <TObject>(TObject objectValue, DelegateBinding <TObject, TValue> objectBinding, DualBindingMode mode = DualBindingMode.TwoWay)
        {
            var valueBinding = new ObjectBinding(objectValue, objectBinding);

            return(BindingExtensions.Bind(controlBinding: this, valueBinding: valueBinding, mode: mode));
        }
Esempio n. 3
0
 public DualBinding Bind <TObject>(DelegateBinding <TObject, TValue> binding, DualBindingMode mode = DualBindingMode.TwoWay)
 {
     return(Bind(dataContextBinding: binding, mode: mode));
 }