Наследование: LoopListTextArgs
Пример #1
0
 private void FireScrolled(LoopListArgs args)
 {
     if (args == null)
     {
         throw new ArgumentNullException("args");
     }
     Scrolled(this, args);
 }
Пример #2
0
 void AnimCompletedY()
 {
     _animating--;
     if (_animating == 0)
     {
         LoopListArgs lla = _lastY > 0
                                 ? new LoopListArgs(Direction.Down, _currentNode.Id)
                                 : new LoopListArgs(Direction.Top, _currentNode.Id);
         _lastY = 0;
         FireScrolled(lla);
     }
 }
Пример #3
0
 void AnimCompletedX()
 {
     _animating--;
     if (_animating == 0)
     {
         LoopListArgs lla = _lastX > 0
                                 ? new LoopListArgs(Direction.Right, _currentNode.Id)
                                 : new LoopListArgs(Direction.Left, _currentNode.Id);
         _lastX = 0;
         FireScrolled(lla);
     }
 }
Пример #4
0
 private void FireScrolled(LoopListArgs args)
 {
     if (args == null) throw new ArgumentNullException("args");
     Scrolled(this, args);
 }