Esempio n. 1
0
 public bool CanItemIndexIncrement(int currentIndex, int downCount = 1)
 {
     return(MathEx.IsWithin(currentIndex, 0, Count - (1 + downCount)));
 }
Esempio n. 2
0
 public bool CanItemIndexDecrement(int currentIndex, int count)
 {
     return(MathEx.IsWithin(currentIndex, count, Count - 1));
 }