WPF MVVM – Animating Transition Between Views


I am developing a WPF project using the MVVM pattern. I am using MVVM Light. How is it possible to animate transitions from one view to another? For example, the smooth "fading" of one and the appearance of the other.


I don't know how this is done in MVVM Light, I usually define a StoryBoard inside the desired element with the desired animation, bind the animation trigger to the desired property of the element through which the transition is implemented (say, Button.IsPressed). Everything is working. More details here https://msdn.microsoft.com/ru-ru/library/ms742868(v=vs.110).aspx

Scroll to Top