// Construction with an operator & comparand
 public ComparisonBinding(string path, ComparisonOperators op, object comparand)
     : base(path)
 {
     RelativeSource = RelativeSource.Self;
     Comparand = comparand;
     Operator = op;
     Converter = new ComparisonConverter(this);
 }
Пример #2
0
 // Construction with an operator & comparand
 public ComparisonBinding(string path, ComparisonOperators op, object comparand)
     : base(path)
 {
     RelativeSource = RelativeSource.Self;
     Comparand      = comparand;
     Operator       = op;
     Converter      = new ComparisonConverter(this);
 }