예제 #1
0
 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);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 internal TriggerCondition(BindingBase binding, LogicalOp logicalOp, object value)
     : this(binding, logicalOp, value, "~Self")
 {
 }