Esempio n. 1
0
 public static void RemoveFadeable(Slideable f)
 {
     Slideables.Remove(f);
     if (_dismissingAll) return;
     foreach(var view in Slideables.Where(o => o.Top > f.Top))
         view.SlideTo(view.Left, view.Top - f.Height - 10);
 }
Esempio n. 2
0
 public static double AddFadeable(Slideable f)
 {
     Slideables.Add(f);
     if (Slideables.Count == 1)
         return 10;
     var last = Slideables[Slideables.Count - 2];
     return last.Top + last.Height + 10;
 }