コード例 #1
0
ファイル: TriggerCondition.cs プロジェクト: evnik/UIFramework
 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
ファイル: TriggerCondition.cs プロジェクト: evnik/UIFramework
 internal TriggerCondition(BindingBase binding, LogicalOp logicalOp, object value)
     : this(binding, logicalOp, value, "~Self")
 {
 }