internal void Stop(bool stopTimer) { if (this.isAnimating) { this.StopLoop(); if (!stopTimer) { this.OnPanAnimationCompleted(); } } }