Exemplo n.º 1
0
 private static object ValueCoerceCallback(DependencyObject d, object baseValue)
 {
     var dp = d as RangePanel;
     Scope bv = baseValue as Scope;
     if (bv == null)
     {
         var s = new Scope();
         dp.Value = s;
         return s;
     }
     return baseValue;
 }
Exemplo n.º 2
0
 public FilterNode()
 {
     Children = new ObservableCollection<IFilterNode>();
     Scope = new Scope();
 }