// ----------------------------------------------------------------------- // // Copyright 2015 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Animation { using System.Threading.Tasks; /// /// Interface for animations that transition between two pages. /// public interface IPageTransition { /// /// Starts the animation. /// /// /// The control that is being transitioned away from. May be null. /// /// /// The control that is being transitioned to. May be null. /// /// /// If the animation is bidirectional, controls the direction of the animation. /// /// /// A that tracks the progress of the animation. /// Task Start(IVisual from, IVisual to, bool forward); } }