//Transitions should call this method when they are done protected void EndTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent) { OnTransitionEnded(transitionElement, oldContent, newContent); if (transitionElement != null) { transitionElement.OnTransitionCompleted(this, oldContent, newContent); } }
//Transitions should call this method when they are done protected void EndTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent) { OnTransitionEnded(transitionElement, oldContent, newContent); transitionElement.OnTransitionCompleted(); }