src/Foundation/Presentation/Gimela.Presentation.Transitions/TransitionElement.cs
/// <summary>
/// Clean up after the transition is complete
/// </summary>
/// <param name="transition"></param>
Clean up after the transition is complete
Clean up after the transition is complete
internal void OnTransitionCompleted(Transition transition)
        {
            _children.Clear();
            _children.Add(_currentHost);
            _currentHost.Visibility = Visibility.Visible;
            _previousHost.Visibility = Visibility.Visible;
            ((ContentPresenter)_previousHost.Child).Content = null;
            IsTransitioning = false;
            _activeTransition = null;
            CoerceValue(TransitionProperty);
            CoerceValue(ClipToBoundsProperty);
            CoerceValue(ContentProperty);
        }
internal void OnTransitionCompleted ( Transition transition ) { _children . Clear ( ) ; _children . Add ( _currentHost ) ; _currentHost . Visibility = Visibility . Visible ; _previousHost . Visibility = Visibility . Visible ; ( ( ContentPresenter ) _previousHost . Child ) . Content = null ; IsTransitioning = false ; _activeTransition = null ; CoerceValue ( TransitionProperty ) ; CoerceValue ( ClipToBoundsProperty ) ; CoerceValue ( ContentProperty ) ; }
Clean up after the transition is complete
Clean up after the transition is complete
transition
Transition
None