public BindingExpression(EBingingMode mode, object source, PropertyInfo sourceProperty, object target, PropertyInfo targetProperty) { Mode = mode; Source = source; SourceProperty = sourceProperty; Target = target; TargetProperty = targetProperty; }
protected override BindingExpression createBindingExpression( EBingingMode mode, object source, PropertyInfo sourceProperty, object target, PropertyInfo targetProperty) { return new StandardControlBindingExpression(mode, source, sourceProperty, target, targetProperty); }
public StandardControlBindingExpression(EBingingMode mode, object source, PropertyInfo sourceProperty, object target, PropertyInfo targetProperty) : base(mode, source, sourceProperty, target, targetProperty) { }
internal void UpdateSource(EBingingMode mode) { if (Expressions.Count == 0) return; foreach (BindingExpression be in Expressions) { if ((mode & be.Mode) == be.Mode) be.UpdateSource(EventArgs.Empty); } }
public CollectionBindingExpression(EBingingMode mode, object source, PropertyInfo sourceProperty, object target, PropertyInfo targetProperty) : base(mode, source, sourceProperty, target, targetProperty) { }
protected virtual BindingExpression createBindingExpression( EBingingMode mode, object source, PropertyInfo sourceProperty, object target, PropertyInfo targetProperty) { if (sourceProperty == null) throw new ArgumentNullException("sourceProperty"); if (targetProperty == null) throw new ArgumentNullException("targetProperty"); var be = new BindingExpression( mode, source, sourceProperty, target, targetProperty); return be; }
public void UpdateTarget(EBingingMode mode) { _bindingEngine.UpdateTarget(mode); }
public void UpdateSource(EBingingMode mode) { _bindingEngine.UpdateSource(mode); }