title: OnNavigatedTo in MVVM pattern for Windows Store Apps
body: <p>How can I implement the <code>OnNavigatedTo</code> and <code>OnNavigatedFrom</code> methods in a Windows Store App with MVVM pattern? I'm currently using MVVM Light and the closest thing I found to my solution is this: <a href="https://marcominerva.wordpress.com/2013/05/07/calling-viewmodel-methods-in-response-to-page-navigation-events-using-mvvm-light-in-winrt/" rel="nofollow">link</a> <br><br>
  However, it does not seem a very clean way to do it and it dates back to 2013, so I wonder if there is nicer way of doing this. </p>