public MVVMBinding( MVVMBindingMode mode = MVVMBindingMode.Default, MVVMUpdateSourceTrigger updateSourceTrigger = MVVMUpdateSourceTrigger.Default, string path = null, object value = null, MVVMRelativeSource relativeSource = null, string elementName = null, MVVMControlBase element = null, bool validatesOnExceptions = false ) { if (element != null) { Type = MVVMBindingType.Element; } else if (elementName != null) { Type = MVVMBindingType.ElementName; } else if (relativeSource != null) { Type = MVVMBindingType.RelativeSource; } else if (value != null) { Type = MVVMBindingType.Value; } else { Type = MVVMBindingType.Path; } _Mode = mode; _UpdateSourceTrigger = updateSourceTrigger; Path = path; TargetValue = value; ElementName = elementName; Element = element; ValidatesOnExceptions = validatesOnExceptions; }
public MVVMBinding(MVVMRelativeSource relativeSource, string path, MVVMBindingMode mode, MVVMUpdateSourceTrigger updateSourceTrigger) : this(relativeSource, path, mode) { _UpdateSourceTrigger = updateSourceTrigger; }
public MVVMBinding(MVVMRelativeSource relativeSource, string path, MVVMBindingMode mode) : this(relativeSource, path) { _Mode = mode; }
public MVVMBinding(MVVMRelativeSource relativeSource, string path) : this(relativeSource) { Path = path; }
public MVVMBinding(MVVMRelativeSource relativeSource, MVVMUpdateSourceTrigger updateSourceTrigger) : this(relativeSource) { _UpdateSourceTrigger = updateSourceTrigger; }
public MVVMBinding(MVVMRelativeSource relativeSource, MVVMBindingMode mode) : this(relativeSource) { _Mode = mode; }
public MVVMBinding(MVVMRelativeSource relativeSource) { RelativeSource = relativeSource; Type = MVVMBindingType.RelativeSource; }