Пример #1
0
 public ScrollAlignment(double left, double right, ScrollAlignment previous)
 {
     this.Left   = left;
     this.Right  = right;
     this.Master = Math.Max(right - previous.Right, left - previous.Left) + previous.Master;
 }
Пример #2
0
 public ScrollAlignment(double left, double right, ScrollAlignment previous)
 {
   this.Left = left;
   this.Right = right;
   this.Master = Math.Max(right - previous.Right, left - previous.Left) + previous.Master;
 }