Microsoft.Phone.Controls.TransitionFrame.EnsureStoppedTransition C# (CSharp) Method

EnsureStoppedTransition() private static method

This checks to make sure that, if the transition not be in the clock state of Stopped, that is will be stopped.
private static EnsureStoppedTransition ( ITransition transition ) : void
transition ITransition The transition instance.
return void
        private static void EnsureStoppedTransition(ITransition transition)
        {
            if (transition != null && transition.GetCurrentState() != ClockState.Stopped)
            {
                transition.Stop();
            }
        }