internal TriggerCondition(BindingBase binding, LogicalOp logicalOp, object value, string sourceName)
 {
     this.Property = null;
     this.Binding = binding;
     this.LogicalOp = logicalOp;
     this.Value = value;
     this.SourceName = sourceName;
     this.SourceChildIndex = 0;
     this.BindingValueCache = new BindingValueCache(null, null);
 }
 /// <summary>Sets up data binding on a property.</summary>
 /// <param name="dp">Identifies the property where the binding should be established.</param>
 /// <param name="binding">Description of the binding.</param>
 public void SetBinding(DependencyProperty dp, BindingBase binding)
 {
     this.SetValue(dp, binding);
 }
 internal TriggerCondition(BindingBase binding, LogicalOp logicalOp, object value)
     : this(binding, logicalOp, value, "~Self")
 {
 }